Commit Graph

5332 Commits

Author SHA1 Message Date
Maxime Coste
217dd6a1de Disable history when executing maps
Fixes #476
2015-11-10 21:24:47 +00:00
Maxime Coste
a0bcdd83df Document default registers 2015-11-10 20:39:17 +00:00
Maxime Coste
9134066e85 Try to switch to last buffer when removing the current one 2015-11-10 13:52:48 +00:00
Maxime Coste
53184829ee Avoid unneeded inc/dec rec in RefPtr::operator= 2015-11-10 13:50:15 +00:00
Maxime Coste
95c1d25f28 Fix uses of "..." strings that are broken due to expanding
Fixes #475
2015-11-10 13:36:16 +00:00
Maxime Coste
6e08716899 Refactor Normal input mode on_key method 2015-11-09 21:30:07 +00:00
Maxime Coste
6ecccf4119 Regex based normal mode command honor the selected register
They default to the '/' register for the default regex, but can
use another if specified with "<reg>
2015-11-09 21:28:18 +00:00
Maxime Coste
9b8e2526f9 Merge search hihglighter and regex option highlighter in dynregex 2015-11-09 09:34:03 +00:00
Maxime Coste
62c981fe2d Small tweak in DynamicRegexHighlighter 2015-11-09 08:50:17 +00:00
Maxime Coste
a2d78941ba Catch expression evaluation errors in line/column highlighters 2015-11-09 08:42:40 +00:00
Maxime Coste
12abb54a88 Slightly more performant regex capture gathering in select_all_matches 2015-11-09 08:42:12 +00:00
Maxime Coste
6840f7ce9c Store the last used buffer in clients
Fixes #474
2015-11-07 18:25:49 +00:00
Maxime Coste
6bb775241c Optimize BufferIterator to avoid a lot of pointer chasing 2015-11-07 16:55:48 +00:00
Maxime Coste
04c8334c98 Avoid useless StringDataPtr copy 2015-11-07 16:55:20 +00:00
Maxime Coste
329d5938a1 Merge branch 'cfam' of git://github.com/danlrobertson/kakoune 2015-11-06 14:00:22 +00:00
Maxime Coste
28d451b844 Support 'current' scope in set/unset command 2015-11-06 13:56:48 +00:00
Daniel Robertson
7e7b238da6 Add common types and keywords to c-family syntax
Add a few more common types and C++ extensions to c-family
syntax file
2015-11-06 08:55:23 -05:00
Maxime Coste
65e67b0656 Remove unused _ss UDL 2015-11-06 13:37:51 +00:00
Maxime Coste
4f3660eaa9 Merge branch 'gas_syntax' of git://github.com/danlrobertson/kakoune 2015-11-06 13:37:33 +00:00
Daniel Robertson
32c1adc271 Gas syntax: update regex and add missing ops
Add missing general purpose instructions and strengthen regular
expressions used to detect labels and instructions.
2015-11-05 09:30:38 -05:00
Maxime Coste
33253a8fd5 Support 'V' for locked view control
Fixes #343
2015-11-05 13:40:40 +00:00
Maxime Coste
05f7337eb0 Change ncurses wheel down default button to 5 2015-11-05 13:28:58 +00:00
Maxime Coste
48a296dc71 Avoid an unneeded call to ensure_char_start 2015-11-04 20:10:12 +00:00
Maxime Coste
d6a2d77857 Fix double check_invariant in SelectionList construction, and set main selection to last 2015-11-04 19:53:47 +00:00
Maxime Coste
2ce0a5a8a8 Merge https://github.com/alpha123/kakoune 2015-11-04 19:49:21 +00:00
Maxime Coste
1c831b41da always_inline a few RefPtr operators 2015-11-04 19:47:26 +00:00
Maxime Coste
e82ca36117 Avoid unneeded sort_and_merge_ovelapping call in select_all_matches 2015-11-04 19:43:25 +00:00
Maxime Coste
4c75c8d940 Merge branch 'gas_syntax' of git://github.com/danlrobertson/kakoune 2015-11-04 19:43:09 +00:00
Daniel Robertson
a276ea3fb5 Add filetype for gas assembly files
Add hooks for basic syntax highlighting for the gas assembly file type
2015-11-04 13:06:32 -05:00
Maxime Coste
beab7dbf41 Cleanup the various trailing space removal hooks 2015-11-04 09:48:47 +00:00
Maxime Coste
9b90e6ec02 Merge remote-tracking branch 'ekie/fix_coding_style' 2015-11-04 09:44:05 +00:00
Daniel Robertson
129aaa907d Daniel L. Robertson Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2015-11-03 23:51:08 -05:00
Eike Plack
d8f034fbad Update Coding Style 2015-11-04 02:32:59 +01:00
Maxime Coste
719997f0ab Do not tag BufferIterator as random access
Boost regex considers that random access means fast distance
computation, which is not the case for BufferIterator where
Buffer::distance is O(num lines between them) which can get
big on large files.

Fixes #462
2015-11-04 01:01:52 +00:00
Maxime Coste
6273aa9443 Rework Buffer::distance implementation 2015-11-04 01:01:52 +00:00
alpha123
97c92368bc Build on FreeBSD 2015-11-03 11:51:27 -07:00
Maxime Coste
e8239feddf Minor cleanup in normal.cc 2015-11-03 13:59:05 +00:00
sinetek
4b8c03afe6 Adding support for DragonFlyBSD. 2015-11-03 01:14:34 +07:00
Maxime Coste
398e9a747a Merge branch 'angt-rc-cfamily' of git://github.com/angt/kakoune 2015-11-02 20:16:20 +00:00
Maxime Coste
e0a16734f6 Update keymap 2015-11-02 19:51:59 +00:00
Maxime Coste
c8d2417646 Support horizontal centering in view commands (using m)
Fixes #442
2015-11-02 19:51:59 +00:00
angt
c4060a790f Add some c-family keywords 2015-11-02 19:12:51 +01:00
Maxime Coste
17eef4a7dc Use explicit lambda captures 2015-11-02 13:44:03 +00:00
Tim Heaney
ba8fbb6718 Typo: referred has another r 2015-11-01 08:03:19 -05:00
Maxime Coste
4380683cad Fix a few out of date informations in interfacing.asciidoc 2015-11-01 11:11:44 +00:00
Maxime Coste
8ae05f3409 Use a coverity-scan branch for explicit scan requests 2015-10-30 13:58:41 +00:00
Maxime Coste
2bf44b6b49 Make word insert completion work better with unicode char 2015-10-30 13:57:46 +00:00
Maxime Coste
92c3aa4d31 Try to make coverity scanning work 2015-10-30 13:13:50 +00:00
Maxime Coste
6a4e9d1a7d Merge branch 'ranked-word-completion' 2015-10-30 13:09:12 +00:00
Maxime Coste
f556ef12c4 Fix preservation of entered text in option insert completer 2015-10-30 13:08:07 +00:00