inputrc

inputrc

set editing-mode vi
set show-all-if-ambiguous on
set completion-ignore-case on
set bell-style none
TAB:menu-complete

# things I might try later
#bind TAB:menu-complete
# Avoid binding ^J, ^M,  ^C, ^?, ^S, ^Q, etc.
#$if mode=vi
#    set vi-cmd-mode-string "\1\e[2 q\2"
#    set vi-ins-mode-string "\1\e[6 q\2"
#    set keymap vi-command
#    set show-mode-in-prompt on
#    "gg": beginning-of-history
#    "G": end-of-history
#    "k": history-search-backward
#    "j": history-search-forward
#    "?": reverse-search-history
#    "/": forward-search-history
#
#    set keymap vi-insert
#    "\C-l": clear-screen
#    "\C-w": backward-kill-word
#    "\C-a": beginning-of-line
#    "\C-e": end-of-line
#$endif
#set show-all-if-ambiguous on
#set completion-ignore-case on
#set bell-style visible

Comments