From f68f91b3993561964efc48696b8eeb63cf9f0645 Mon Sep 17 00:00:00 2001 From: Jared Grubb Date: Sat, 8 Nov 2014 11:45:28 -0800 Subject: [PATCH] Vim bindings doc: describe modes better and explain some non-vim bindings --- doc_src/index.hdr.in | 56 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 45 insertions(+), 11 deletions(-) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index d4bc2bc9e..e4a84f6c7 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -906,27 +906,61 @@ You can change these key bindings using the bindcompletes the current token. + + - @key{Escape} or @key{Control,C} exit back to __normal mode__ + + - @cursor_key{↑,Up} and @cursor_key{↓,Down} search the command history; see history . + + - @key{Control,W} moves the previous word to the killring. + + - @key{Control,U} moves contents from the beginning of line to the cursor to the killring. + + - @key{Control,B} and @key{Control,F} move the cursor one word left or right. If the cursor is already at the end of the line, and an autosuggestion is available, @key{Control,F} accepts the first word in the suggestion. + +- __Visual Mode__ + + - @cursor_key{←,Left} and @cursor_key{→,Right} extend bounds of selection by one character left/right + + - @key{b} and @key{w} extend bounds of selection backward/forward by one word + + - @key{d} delete the selection, and exit back to __normal mode__ + + - @key{x} cut the selection (ie, delete and save for pasting), and exit back to __normal mode__ + + - @key{Escape} or @key{Control,C} exit back to __normal mode__ + +- etc, for many of the other Vi commands. \subsection killring Copy and paste (Kill Ring)