Skip to content

Instantly share code, notes, and snippets.

@andrew-luhring
Created June 15, 2015 16:05
Show Gist options
  • Save andrew-luhring/8df4e9062a9b9abd41de to your computer and use it in GitHub Desktop.
Save andrew-luhring/8df4e9062a9b9abd41de to your computer and use it in GitHub Desktop.
a bunch of helpful stuff for terminal (and bash)
# 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
@AdrianTP
Copy link

vim is superior ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment