Created
July 2, 2015 11:37
-
-
Save gbirke/c70dbb8f673a11956884 to your computer and use it in GitHub Desktop.
Restore Apple numpad keybindings in ZSH
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
# Restore Apple numpad keybindings in ZSH | |
bindkey -s "^[Op" "0" | |
bindkey -s "^[On" "." | |
bindkey -s "^[OM" "^M" | |
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" | |
bindkey -s "^[Ok" "+" | |
bindkey -s "^[Om" "-" | |
bindkey -s "^[Oj" "*" | |
bindkey -s "^[Oo" "/" | |
bindkey -s "^[OX" "=" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment