From bb491742eae9712f057232da7ab8421f4ae334b0 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 28 Oct 2015 13:18:27 +0100 Subject: vi: Bind \cx to end-of-line in insert mode This will also accept any autosuggestion completely. --- doc_src/index.hdr.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc_src') diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index fdd5162f..20d86696 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -958,6 +958,8 @@ Command mode is also known as normal mode. - @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. +- @key{Control,x} moves the cursor to the end of the line. If an autosuggestion is available, it will be accepted completely. + \subsubsection vi-mode-visual Visual mode - @cursor_key{←,Left} and @cursor_key{→,Right} extend the selection backward/forward by one character. -- cgit v1.2.3