From b369c6e3d72098c1fcfd8133e68c97add16f115a Mon Sep 17 00:00:00 2001 From: Xiufeng Guo Date: Mon, 14 Nov 2022 15:49:16 +0000 Subject: [PATCH] Update '.zshrc-mac' --- .zshrc-mac | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.zshrc-mac b/.zshrc-mac index 71c207c..63ca1aa 100644 --- a/.zshrc-mac +++ b/.zshrc-mac @@ -117,16 +117,17 @@ export NVM_DIR="$HOME/.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 - # Home bindkey '\e[1~' beginning-of-line # End bindkey '\e[4~' end-of-line +# Delete +bindkey '^[[3~' delete-char # Keypad # 0 . Enter bindkey -s "^[Op" "0" -bindkey -s "^[Ol" "." +bindkey -s "^[On" "." bindkey -s "^[OM" "^M" # 1 2 3 bindkey -s "^[Oq" "1" @@ -140,8 +141,10 @@ 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" "/" \ No newline at end of file +bindkey -s "^[Oo" "/" +bindkey -s "^[OX" "=" +