addet correct 'alt + Backspace' to delete and also move (with arrow keys) corrected
This commit is contained in:
parent
4f280eecb9
commit
ac13df165b
1 changed files with 9 additions and 0 deletions
9
.zshrc
9
.zshrc
|
@ -29,6 +29,15 @@ autoload -Uz compinit && compinit
|
|||
|
||||
bindkey -e
|
||||
|
||||
# Use Alt + Backspace to delete the previous word
|
||||
bindkey '^[^?' backward-kill-word
|
||||
|
||||
# Use Alt + Left Arrow to move to the previous word
|
||||
bindkey '^[[1;3D' backward-word
|
||||
|
||||
# Use Alt + Right Arrow to move to the next word
|
||||
bindkey '^[[1;3C' forward-word
|
||||
|
||||
setopt appendhistory
|
||||
setopt sharehistory
|
||||
setopt hist_ignore_space
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue