Update '.zshrc-mac'
This commit is contained in:
parent
fb7f39a605
commit
3ace0089fe
31
.zshrc-mac
31
.zshrc-mac
@ -115,4 +115,33 @@ neofetch
|
|||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
||||||
|
|
||||||
|
# Home
|
||||||
|
bindkey '\e[1~' beginning-of-line
|
||||||
|
# End
|
||||||
|
bindkey '\e[4~' end-of-line
|
||||||
|
|
||||||
|
# Keypad
|
||||||
|
# 0 . Enter
|
||||||
|
bindkey -s "^[Op" "0"
|
||||||
|
bindkey -s "^[Ol" "."
|
||||||
|
bindkey -s "^[OM" "^M"
|
||||||
|
# 1 2 3
|
||||||
|
bindkey -s "^[Oq" "1"
|
||||||
|
bindkey -s "^[Or" "2"
|
||||||
|
bindkey -s "^[Os" "3"
|
||||||
|
# 4 5 6
|
||||||
|
bindkey -s "^[Ot" "4"
|
||||||
|
bindkey -s "^[Ou" "5"
|
||||||
|
bindkey -s "^[Ov" "6"
|
||||||
|
# 7 8 9
|
||||||
|
bindkey -s "^[Ow" "7"
|
||||||
|
bindkey -s "^[Ox" "8"
|
||||||
|
bindkey -s "^[Oy" "9"
|
||||||
|
# + - * /
|
||||||
|
bindkey -s "^[Ok" "+"
|
||||||
|
bindkey -s "^[Om" "-"
|
||||||
|
bindkey -s "^[Oj" "*"
|
||||||
|
bindkey -s "^[Oo" "/"
|
Loading…
Reference in New Issue
Block a user