Last active
July 16, 2018 11:56
-
-
Save bohanyang/3bdc8f2af54eef4b496f1c381e87e7cd to your computer and use it in GitHub Desktop.
>> ~/.zshrc
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
# bindkey -s "^[OM" "^M" | |
bindkey -s "^[Oj" "*" | |
bindkey -s "^[Ok" "+" | |
bindkey -s "^[Ol" "." | |
bindkey -s "^[Om" "-" | |
bindkey -s "^[Oo" "/" | |
bindkey -s "^[Op" "0" | |
bindkey -s "^[Oq" "1" | |
bindkey -s "^[Or" "2" | |
bindkey -s "^[Os" "3" | |
bindkey -s "^[Ot" "4" | |
bindkey -s "^[Ou" "5" | |
bindkey -s "^[Ov" "6" | |
bindkey -s "^[Ow" "7" | |
bindkey -s "^[Ox" "8" | |
bindkey -s "^[Oy" "9" | |
stty erase ^H | |
bindkey '\e[1~' beginning-of-line | |
bindkey '\e[4~' end-of-line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment