Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c563fe95
Commit
c563fe95
authored
Feb 09, 2014
by
Florian Franzen
Browse files
Makes history-substring-search use term specific up and down buttons. Fixes #2089.
parent
ec37c05c
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/history-substring-search/history-substring-search.zsh
View file @
c563fe95
...
@@ -163,8 +163,9 @@ function history-substring-search-down() {
...
@@ -163,8 +163,9 @@ function history-substring-search-down() {
zle
-N
history-substring-search-up
zle
-N
history-substring-search-up
zle
-N
history-substring-search-down
zle
-N
history-substring-search-down
bindkey
'\e[A'
history-substring-search-up
zmodload zsh/terminfo
bindkey
'\e[B'
history-substring-search-down
bindkey
"
$terminfo
[kcuu1]"
history-substring-search-up
bindkey
"
$terminfo
[kcud1]"
history-substring-search-down
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# implementation details
# implementation details
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment