mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 11:41:49 -05:00
GH-21: fix bindkey strings for up and down arrows
This commit is contained in:
committed by
Suraj N. Kurapati
parent
82fbef5132
commit
99341be866
@@ -30,7 +30,7 @@ Usage
|
|||||||
2. Bind keyboard shortcuts to this script's functions:
|
2. Bind keyboard shortcuts to this script's functions:
|
||||||
|
|
||||||
# bind UP and DOWN arrow keys
|
# bind UP and DOWN arrow keys
|
||||||
for keycode in '[' '0'; do
|
for keycode in '[' 'O'; do
|
||||||
bindkey "^[${keycode}A" history-substring-search-up
|
bindkey "^[${keycode}A" history-substring-search-up
|
||||||
bindkey "^[${keycode}B" history-substring-search-down
|
bindkey "^[${keycode}B" history-substring-search-down
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user