Last active
August 17, 2016 07:01
-
-
Save tuna-f1sh/3998490f247736b4f235 to your computer and use it in GitHub Desktop.
My portable inputrc
This file contains 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
# use ctrl+left/right arrow keys to jump over words | |
"\e[5C": forward-word | |
"\e[5D": backward-word | |
# enable autocomplete (using up/down arrow keys) | |
"\e[B": history-search-forward | |
"\e[A": history-search-backward | |
# ignore case when autocomplete file/directory name using tab | |
set completion-ignore-case on | |
# moving to begining and end of line (using F1 and F2) | |
"\eOP": beginning-of-line | |
"\eOQ": end-of-line | |
# kill a whole line (using F3) | |
"\eOR": kill-whole-line | |
# Expand history after !! with space | |
#Space:magic-space # useful but causes problems with bash hooks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment