From bed86efad4a6b70b7f179ddaff963e45111b3477 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Mon, 30 Mar 2020 00:07:23 +0200 Subject: [PATCH] Add C-e to go to end of line in vi-mode --- dotfiles/config.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dotfiles/config.org b/dotfiles/config.org index 8869645..878d328 100644 --- a/dotfiles/config.org +++ b/dotfiles/config.org @@ -112,16 +112,21 @@ # Show the mode by changing the cursor set vi-ins-mode-string \1\e[6 q\2 set vi-cmd-mode-string \1\e[2 q\2 +#+END_SRC +Key-bindings for vi-mode: +#+BEGIN_SRC conf set keymap vi-command # these are for vi-command mode Control-l: clear-screen Control-a: beginning-of-line + Control-e: end-of-line set keymap vi-insert # these are for vi-insert mode Control-l: clear-screen Control-a: beginning-of-line + Control-e: end-of-line #+END_SRC * GnuPG