Commit Graph

2396 Commits

Author SHA1 Message Date
Maxime Coste
ce6b4c2cc4 idvaluemap: complete_id_if method for conditional id completion 2012-01-19 20:52:08 +00:00
Maxime Coste
2824bd9a46 HighlighterGroup: move to it's own file, Window uses them directly 2012-01-19 20:37:29 +00:00
Maxime Coste
2fe07d2dad TODO: Add history support 2012-01-19 20:13:41 +00:00
Maxime Coste
541872cafa completion support for addgrouphl and rmgrouphl 2012-01-18 11:33:58 +00:00
Maxime Coste
cffdbcb689 replace addhl -group with addgrouphl command, and add rmgrouphl 2012-01-18 00:15:10 +00:00
Maxime Coste
ae8882b0de Context: do not permit access to window or buffer if null 2012-01-15 21:33:35 +00:00
Maxime Coste
a6930395b8 tweak kakrc files highlighting 2012-01-15 17:50:46 +00:00
Maxime Coste
c1f625054a split kakrc with filetype specific files in rc/
cpp highlighting is now specified by rc/cpp.kak.
2012-01-15 17:35:25 +00:00
Maxime Coste
c62b3b251d add a runtime command to execute files in the runtime directory 2012-01-15 17:34:05 +00:00
Maxime Coste
f99c3a1a6a kakrc: use a hlkakrc highlighter group for kakrc highlighting regex 2012-01-15 13:48:48 +00:00
Maxime Coste
f3e8498a58 addhl supports a -group option
-group <group_id> can be used to add the highlighter in a
highlighter group which will be then handled as a whole.
2012-01-15 13:47:12 +00:00
Maxime Coste
98f937146a HighlighterRegistry: add add_highlighter_to_group method 2012-01-15 13:46:45 +00:00
Maxime Coste
2cfa70a466 Window: add get_highlighter_group method 2012-01-15 13:46:12 +00:00
Maxime Coste
0c1e763d66 Highlighters: add an HighlighterGroup class 2012-01-15 13:45:18 +00:00
Maxime Coste
5092456186 Highlighters: move HighlighterParameters definition from highlighter_registry.hh to highlighter.hh 2012-01-15 13:44:16 +00:00
Maxime Coste
7599edffa9 idvaluemap: add missing includes 2012-01-15 13:40:58 +00:00
Maxime Coste
0234378bcf kakrc: refactor using lists of commands for hooks 2012-01-15 03:04:37 +00:00
Maxime Coste
f259af9326 CommandManager: add flags support and IgnoreSemiColons flag
commands are now registred with flags, and the IgnoreSemiColons
flag permit to specify a command which needs all the parameters
on the line, bypassing the command sequence operator ';'.

the hook command is tagged as such.
2012-01-15 03:02:08 +00:00
Maxime Coste
be5cf92367 Completion: sort results in complete_filename 2012-01-15 02:02:18 +00:00
Maxime Coste
f673f3c334 Completion: handle hidden files in complete_filenam 2012-01-15 02:01:58 +00:00
Maxime Coste
49ea6f7103 correctly clear the window status line 2012-01-15 01:45:23 +00:00
Maxime Coste
4a5758ebb3 CommandManager: support ';' as a command separator 2012-01-15 01:37:35 +00:00
Maxime Coste
c76b44e91d TODO: add a memory view class 2012-01-15 01:36:22 +00:00
Maxime Coste
7bd2f74867 TODO: Add highlighters/filters groups 2012-01-14 14:15:09 +00:00
Maxime Coste
272f2d87a1 Highlighters: tweak colorize_cplusplus 2012-01-14 14:12:20 +00:00
Maxime Coste
95db828e17 CommandManager: use directly first command parameter as the command name 2012-01-14 14:02:54 +00:00
Maxime Coste
66d91b8828 support '\' as a line continuation marker when executing commands in file 2012-01-14 13:50:45 +00:00
Maxime Coste
fea81e1378 kakrc: add support for kakrc file highlighting 2012-01-14 01:04:08 +00:00
Maxime Coste
6d84ba4b72 Update TODO with encoding support as a high priority task 2012-01-11 18:53:27 +00:00
Maxime Coste
50ce3d1549 Document some Kakoune concepts, as Window, Buffer, DisplayAtom... 2012-01-11 14:21:58 +00:00
Maxime Coste
9557167f26 <space> with a count argument replaces current selections with the counth selection. 2012-01-09 14:28:01 +00:00
Maxime Coste
e02cb4e5bd Selectors: select_next_match starts from cursor+1
so searching effectively starts on the character after current
selection end. Which makes repeating 'n' on a one character match
work.
2012-01-09 14:22:52 +00:00
Maxime Coste
8b1b1d9cd8 Selectors: add select_surrounding to select blocks
Alt-a followed by []()<>{}bB selects the block surrounding current
selection end.

Alt-i is similar but selects only the inside of the block.
2012-01-04 14:18:08 +00:00
Maxime Coste
e59bdd931e search for kakrc next to the kak executable instead of in the current directory 2011-12-28 22:57:48 +00:00
Maxime Coste
ee7bc9ddc0 README: update 2011-12-28 19:09:54 +00:00
Maxime Coste
f93d3d59e8 README: fix whitespaces 2011-12-28 19:04:57 +00:00
Maxime Coste
4de41197c0 Add a | key that pipes each selection through an external filter 2011-12-28 19:04:06 +00:00
Maxime Coste
c9ac4d615d Highlighters: tweak colorize_cplusplus 2011-12-28 18:52:35 +00:00
Maxime Coste
0e398566d2 Buffer: fix compute_lines on empty_buffer 2011-12-28 18:52:14 +00:00
Maxime Coste
aa1c4d64f9 Completions: complete_filename correctly support directories 2011-12-22 13:44:04 +00:00
Maxime Coste
6fa5d809ef whitespace fix 2011-12-22 13:33:29 +00:00
Maxime Coste
67c08e598b IncrementalInserter: preserve selection through hook call 2011-12-21 19:06:51 +00:00
Maxime Coste
f77fc3980b Window: store a stack of selections 2011-12-21 19:06:26 +00:00
Maxime Coste
c11b548662 kakrc: cleanup trailing whitespaces when quiting insert mode 2011-12-21 18:58:41 +00:00
Maxime Coste
70bb4847ee IncrementalInserter: catch exception thrown by the hook 2011-12-21 18:57:07 +00:00
Maxime Coste
6c817c8117 Window: do not manage undo groups when an inserter is active 2011-12-21 18:56:32 +00:00
Maxime Coste
913ee3f096 Use Keys instead of char for keymap 2011-12-21 14:29:28 +00:00
Maxime Coste
ba1fe056f4 Add an exec command, similar to vim normal command 2011-12-20 19:22:05 +00:00
Maxime Coste
7116ed6d61 Window: throw when multiselect results in no selections 2011-12-20 19:27:13 +00:00
Maxime Coste
42a24895de Add Key struct 2011-12-20 19:21:11 +00:00