GH-21: fix bindkey strings for up and down arrows
This commit is contained in:
parent
82fbef5132
commit
99341be866
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue