This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/shell/inputrc
2018-08-09 09:40:14 -05:00

23 lines
430 B
Text

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
"\e\C-p": "cdp\n"
# vi settings
$if mode=vi
set keymap vi-insert
"jk": vi-movement-mode
"Jk": vi-movement-mode
"JK": vi-movement-mode
"jj": vi-movement-mode
"Jj": vi-movement-mode
"JJ": vi-movement-mode
$endif