.inputrc: Add more settings and bindings

This commit is contained in:
Salt 2018-11-07 22:14:20 -06:00
parent 8b5cf3fffb
commit e9499f2290

View File

@ -1 +1,18 @@
## 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