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

19 lines
330 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
2017-02-08 13:27:09 -06:00
"\C-D": "\C-c\C-d"
2017-04-20 09:15:04 -05:00
# vi settings
$if mode=vi
set keymap vi-insert
"kj": vi-movement-mode
"jk": vi-movement-mode
$endif