2018-11-07 22:14:20 -06:00
|
|
|
## COMPLETION
|
|
|
|
# Only need a single tab press to show results
|
2018-11-07 21:56:43 -06:00
|
|
|
set show-all-if-ambiguous on
|
2018-11-07 22:14:20 -06:00
|
|
|
set completion-ignore-case on
|
|
|
|
# You ever do that thing where you put your cursorright in the middle of a word,
|
|
|
|
# like you're at the "e" in "Makefile", and hit tab, and bash oh-so-helpfully
|
|
|
|
# inserts the latter half of the word right in the middle of it -- so you've
|
|
|
|
# got "Makefilefile" sitting in your terminal?
|
|
|
|
# Yeah fuck that
|
|
|
|
set skip-completed-text on
|
|
|
|
|
|
|
|
## KEYBINDINGS
|
|
|
|
# Completion
|
|
|
|
"\t": menu-complete
|
|
|
|
# History searching
|
|
|
|
"\e[A": history-search-backward
|
|
|
|
"\e[B": history-search-forward
|
|
|
|
|