diff --git a/README.asciidoc b/README.asciidoc index 7386d726..640c8dfb 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -709,18 +709,9 @@ See <>. Insert mode completion ~~~~~~~~~~~~~~~~~~~~~~ -Kakoune can propose completions while inserting text, the `completers` option -controls automatic completion, which kicks in when a certain idle timeout is -reached (see `idle_timeout` option). Insert mode completion can be explicitly triggered -using ``, followed, by: +Kakoune can propose completions while inserting text: filenames, words, lines… - * *f* : filename completion - * *w* : word completion (current buffer) - * *W* : word completion (all buffers) - * *l* : line completion (current buffer) - * *L* : line completion (all buffers) - -Completion candidates can be selected using `` and ``. +See <>. Escape to normal mode ~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/pages/keys.asciidoc b/doc/pages/keys.asciidoc index e61160e7..61946506 100644 --- a/doc/pages/keys.asciidoc +++ b/doc/pages/keys.asciidoc @@ -31,6 +31,26 @@ In order to bind some keys to arbitrary ones, refer to <*:: move cursors to end of line +**:: + insert contents of the register given by next key + +**:: + insert next keystroke directly into the buffer, without interpreting it + +**:: + commit changes up to now as a single undo group + +**:: + escape to normal mode for a single command + +== Insert mode completion + +The `completers` option controls automatic completion, which kicks in when +the value specified in the `idle_timeout` option is reached. + +**:: + disable automatic completion for this insert session + **:: select next completion candidate @@ -50,22 +70,10 @@ In order to bind some keys to arbitrary ones, refer to <*:: - disable automatic completion for this insert session - -**:: - insert contents of the register given by next key - -**:: - insert next keystroke directly into the buffer, without interpreting it - -**:: - commit changes up to now as a single undo group - -**:: - escape to normal mode for a single command + *L*::: + explicit line completion (all buffers) == Using Counts