Created
July 8, 2014 00:45
-
-
Save giggio/468d1a49bf7cc59f364a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set editing-mode vi | |
set bell-style none | |
set show-all-if-ambiguous on | |
set completion-ignore-case on | |
# on menu-complete, first display the common prefix, then cycle through the options when hitting TAB | |
set menu-complete-display-prefix on | |
set keymap vi-command | |
"gg": beginning-of-history | |
"G": end-of-history | |
set keymap vi-insert | |
"jj": vi-movement-mode | |
"\C-w": backward-kill-word | |
"\C-p": history-search-backward | |
# Pressing tab will list all completions & select the first one. Pressing it again will cycle through available completions. | |
TAB: menu-complete | |
# Shift-TAB cycles completions backward | |
"\e[Z": menu-complete-backward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment