Add C-e to go to end of line in vi-mode

This commit is contained in:
Thomas Dehaeze 2020-03-30 00:07:23 +02:00
parent 774f5218e2
commit f75931b74f

View File

@ -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