Created
February 13, 2017 20:47
-
-
Save paranormal/fc294b27e80fcdc55ffef239be4be8d2 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
# Use Vi, not Emacs, style editing | |
set editing-mode vi | |
# Show all completions as soon as I press tab, even if there's more than one | |
set show-all-if-ambiguous on | |
# Ignore case | |
set completion-ignore-case on | |
# on menu-complete, first display the common prefix, then cycle through the | |
# options when hitting TAB | |
# menu-complete-display-prefix on | |
# Keymaps for when we're in command mode (e.g., after hitting ESC) | |
set keymap vi-command | |
# Keymaps for when we're in insert (i.e., typing stuff in) mode | |
set keymap vi-insert | |
# 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 | |
# Option-up/option-down should also apply to insert mode | |
"\e\e[A": history-search-backward | |
"\e\e[B": history-search-forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment