19 lines
580 B
Plaintext
19 lines
580 B
Plaintext
## COMPLETION
|
|
# Only need a single tab press to show results
|
|
set show-all-if-ambiguous on
|
|
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
|
|
|