Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[history-substring-search] Use ^N and ^P instead of up and down keys

  • Loading branch information...
commit bee5a05f959819d964524b1f1c4aea13634f9e9b 1 parent f4cd67b
@ornicar authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/history-substring-search/history-substring-search.zsh
View
4 plugins/history-substring-search/history-substring-search.zsh
@@ -163,8 +163,8 @@ function history-substring-search-down() {
zle -N history-substring-search-up
zle -N history-substring-search-down
-bindkey '\e[A' history-substring-search-up
-bindkey '\e[B' history-substring-search-down
+bindkey '^N' history-substring-search-up
+bindkey '^P' history-substring-search-down
#-----------------------------------------------------------------------------
# implementation details
Please sign in to comment.
Something went wrong with that request. Please try again.