feat(zsh): fix history search
This commit is contained in:
parent
459cd7d29d
commit
fb880083d9
|
@ -55,9 +55,9 @@ in
|
||||||
bindkey -M menuselect 'l' vi-forward-char
|
bindkey -M menuselect 'l' vi-forward-char
|
||||||
bindkey -M menuselect 'j' vi-down-line-or-history
|
bindkey -M menuselect 'j' vi-down-line-or-history
|
||||||
|
|
||||||
setopt histignoredups
|
setopt HIST_FIND_NO_DUPS
|
||||||
bindkey '^[[A' history-substring-search-up
|
bindkey "$terminfo[kcuu1]" history-substring-search-up
|
||||||
bindkey '^[[B' history-substring-search-down
|
bindkey "$terminfo[kcud1]" history-substring-search-down
|
||||||
bindkey -M vicmd 'k' history-substring-search-up
|
bindkey -M vicmd 'k' history-substring-search-up
|
||||||
bindkey -M vicmd 'j' history-substring-search-down
|
bindkey -M vicmd 'j' history-substring-search-down
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue