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

24 lines
430 B
Text
Raw Normal View History

2017-04-20 09:15:04 -05:00
set editing-mode vi
# bindings
2017-02-07 16:16:45 -06:00
"\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
2018-08-09 09:40:14 -05:00
"\e\C-p": "cdp\n"
2017-02-08 13:27:09 -06:00
2017-04-20 09:15:04 -05:00
# vi settings
$if mode=vi
set keymap vi-insert
"jk": vi-movement-mode
2018-08-09 09:40:14 -05:00
"Jk": vi-movement-mode
"JK": vi-movement-mode
"jj": vi-movement-mode
"Jj": vi-movement-mode
"JJ": vi-movement-mode
2017-04-20 09:15:04 -05:00
$endif