Created
June 15, 2015 16:05
-
-
Save andrew-luhring/8df4e9062a9b9abd41de to your computer and use it in GitHub Desktop.
a bunch of helpful stuff for terminal (and bash)
This file contains hidden or 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
# allows autocomplete to be used with search history, so typing git c and then up arrow would | |
# bring up your history options that started with git c . WAAAAY faster. | |
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\e[1;9D": backward-word | |
"\e[1;9C": forward-word | |
# non-case-sensative autocomplete, | |
set show-all-if-ambiguous on | |
# show all options if you hit tab and there are a bunch of options (without an error signal) | |
set completion-ignore-case on | |
# mostly self explanitory | |
$if bash | |
set bell-style visible | |
set editing-mode emacs | |
set mark-directories On | |
set mark-modified-lines On | |
set show-all-if-ambiguous On | |
$endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(if you don't use bash, comment out line 17 or set it to vim or whatever.)