14 lines
263 B
Plaintext
14 lines
263 B
Plaintext
# Enable vi mode
|
|
set editing-mode vi
|
|
|
|
# Normal mode mappings
|
|
set keymap vi-command
|
|
"gg": beginning-of-history
|
|
"G": end-of-history
|
|
|
|
# Insert mode mappings
|
|
set keymap vi-insert
|
|
"\C-[": vi-movement-mode
|
|
"\C-p": history-search-backward
|
|
"\C-n": history-search-forward
|