by bilalq · 12y ago · 0 comments
set completion-ignore-case On
set bell-style none
set editing-mode vi
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
set keymap vi-insert
"jj": vi-movement-mode
"\C-p": history-search-backwardThanks. Keeping track of whether certain directories were capitalized or not has been unnecessarily occupying my mental bandwidth for years.
set editing-mode vi
... in one's inputrc and... set -o vi
... in one's .bashrc?I realize that .inputrc is the config file for Readline, and .bashrc is essentially a start-up file for Bash. But is it ever necessary to use both snippets?
"\C-l": clear-screen bindkey -M viins 'jj' vi-cmd-modeworks well with "\t": menu-complete
But I had to delete this entry. I need the case to differentiate between which path I really wanted :(