Skip to content

Instantly share code, notes, and snippets.

@NerOcrO
Last active November 1, 2017 08:55
Show Gist options
  • Save NerOcrO/5939448 to your computer and use it in GitHub Desktop.
Save NerOcrO/5939448 to your computer and use it in GitHub Desktop.
inputrc
# vim ~/.inputrc
# source ~/.inputrc
# Commencer à écrire, flèche du haut et compléter avec la dernière commande
"\e[A": history-search-backward
# Commencer à écrire, flèche du bas et compléter avec la première commande
"\e[B": history-search-forward
set show-all-if-ambiguous on
# L'autocompletion n'est plus case sensitive
set completion-ignore-case on
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment