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

26 lines
499 B
Plaintext
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
2019-04-17 20:50:11 -05:00
"\e\C-p": " \C-e\C-u`__fzf_cd__`\n"
"\e\C-s": " \C-e\C-uscwd\n"
"\e\C-g": " \C-e\C-u. gcwd\n"
2017-02-08 13:27:09 -06:00
2017-04-20 09:15:04 -05:00
# vi settings
$if mode=vi
2018-11-16 16:37:21 -06:00
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
2017-04-20 09:15:04 -05:00
$endif