19 lines
330 B
Plaintext
19 lines
330 B
Plaintext
set editing-mode vi
|
|
|
|
# bindings
|
|
"\eOd": backward-word
|
|
"\eOc": forward-word
|
|
"\C-p": history-search-backward
|
|
"\C-n": history-search-forward
|
|
"\C-a": beginning-of-line
|
|
"\C-e": end-of-line
|
|
"\C-d": delete-char
|
|
"\C-D": "\C-c\C-d"
|
|
|
|
# vi settings
|
|
$if mode=vi
|
|
set keymap vi-insert
|
|
"kj": vi-movement-mode
|
|
"jk": vi-movement-mode
|
|
$endif
|