Last active
December 16, 2015 11:29
-
-
Save ts-3156/5427529 to your computer and use it in GitHub Desktop.
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
# for linux | |
#source /etc/inputrc | |
# type Ctrl+V | |
# type the key sequence you are interested in (e.g., Alt+→). This would print ^[[1;3C | |
# remove the leading ^[ and replace it with \e to make \e[1;3C | |
# place this value in your .inputrc file. | |
"\eOC": forward-word | |
"\eOD": backward-word | |
# windows, putty, tmuxではダメな設定 | |
"\e[C": forward-word | |
"\e[D": backward-word | |
$if mysql | |
"\C-xd": "show databases;\n" | |
"\C-xt": "show tables;\n" | |
"\C-xp": "show full processlist;\n" | |
$endif | |
#set completion-ignore-case on | |
#"\e[A": history-search-backward | |
#"\e[B": history-search-forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment