set bell-style none set editing-mode vi set completion-ignore-case on # Colored completions set colored-stats on set colored-completion-prefix on # Treat hyphens and underscores the same in the context of completion set completion-map-case on # Complete prefix and show choices on one tab set show-all-if-ambiguous on $if editing-mode == vi # Change cursor to a bar when in insert mode set show-mode-in-prompt on # Taken straight from the Arch Wiki $if term == linux set vi-ins-mode-string "\1\e[?0c\2" set vi-cmd-mode-string "\1\e[?8c\2" $else set vi-ins-mode-string "\1\e[6 q\2" set vi-cmd-mode-string "\1\e[2 q\2" $endif $endif $if Bash C-p: "| $PAGER" # Since is bound to ‘forward-search-history’ C-t: reverse-search-history $endif set keymap vi-command €: end-of-line set keymap vi-insert C-l: clear-screen