Add C-e to go to end of line in vi-mode
This commit is contained in:
parent
774f5218e2
commit
f75931b74f
@ -112,16 +112,21 @@
|
|||||||
# Show the mode by changing the cursor
|
# Show the mode by changing the cursor
|
||||||
set vi-ins-mode-string \1\e[6 q\2
|
set vi-ins-mode-string \1\e[6 q\2
|
||||||
set vi-cmd-mode-string \1\e[2 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
|
set keymap vi-command
|
||||||
# these are for vi-command mode
|
# these are for vi-command mode
|
||||||
Control-l: clear-screen
|
Control-l: clear-screen
|
||||||
Control-a: beginning-of-line
|
Control-a: beginning-of-line
|
||||||
|
Control-e: end-of-line
|
||||||
|
|
||||||
set keymap vi-insert
|
set keymap vi-insert
|
||||||
# these are for vi-insert mode
|
# these are for vi-insert mode
|
||||||
Control-l: clear-screen
|
Control-l: clear-screen
|
||||||
Control-a: beginning-of-line
|
Control-a: beginning-of-line
|
||||||
|
Control-e: end-of-line
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* GnuPG
|
* GnuPG
|
||||||
|
Loading…
Reference in New Issue
Block a user