mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Bind also UP/DOWN arrow keys in history-substring-search
Without it only keypad arrow keys are working
This commit is contained in:
parent
b7142922f8
commit
2df70ee5ca
1 changed files with 8 additions and 1 deletions
|
|
@ -19,8 +19,15 @@ if [[ -n "$terminfo[kcuu1]" ]]; then
|
|||
bindkey -M emacs "$terminfo[kcuu1]" history-substring-search-up
|
||||
bindkey -M viins "$terminfo[kcuu1]" history-substring-search-up
|
||||
fi
|
||||
if [[ -n "$terminfo[cuu1]" ]]; then
|
||||
bindkey -M emacs "$terminfo[cuu1]" history-substring-search-up
|
||||
bindkey -M viins "$terminfo[cuu1]" history-substring-search-up
|
||||
fi
|
||||
if [[ -n "$terminfo[kcud1]" ]]; then
|
||||
bindkey -M emacs "$terminfo[kcud1]" history-substring-search-down
|
||||
bindkey -M viins "$terminfo[kcud1]" history-substring-search-down
|
||||
fi
|
||||
|
||||
if [[ -n "$terminfo[cud1]" ]]; then
|
||||
bindkey -M emacs "$terminfo[cud1]" history-substring-search-down
|
||||
bindkey -M viins "$terminfo[cud1]" history-substring-search-down
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue