Minor changes to a comment
This commit is contained in:
parent
c9445081a1
commit
616da83956
1 changed files with 3 additions and 2 deletions
5
.zshrc
5
.zshrc
|
@ -465,14 +465,15 @@ bindkey '^[Oc' forward-word #
|
|||
bindkey '^[Od' backward-word #
|
||||
bindkey '^[[1;5D' backward-word #
|
||||
bindkey '^[[1;5C' forward-word #
|
||||
# Delete words with ctrl+bksp/del
|
||||
bindkey '^H' backward-kill-word # delete previous word with ctrl+backspace
|
||||
bindkey '^[[3;5~' kill-word # delete next word with ctrl+delete
|
||||
bindkey '^[[Z' undo # Shift+tab undo last action
|
||||
|
||||
# bind UP and DOWN arrow keys to history substring search
|
||||
zmodload zsh/terminfo
|
||||
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
||||
bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||
# bindkey "$terminfo[kcuu1]" history-substring-search-up
|
||||
# bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||
bindkey '^[[A' history-substring-search-up
|
||||
bindkey '^[[B' history-substring-search-down
|
||||
bindkey -M vicmd 'k' history-substring-search-up
|
||||
|
|
Loading…
Add table
Reference in a new issue