1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 21:19:25 +00:00

[Fix #75] Bind history-substring-search in itself

This commit is contained in:
Sorin Ionescu
2012-03-30 18:54:47 -04:00
parent 1b32cf7bba
commit ec3738c8d5
2 changed files with 5 additions and 19 deletions

View File

@ -17,3 +17,8 @@ if ! zstyle -t ':omz:plugin:history-substring-search' color; then
unset HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND
fi
bindkey -M emacs "$keyinfo[Control]P" history-substring-search-up
bindkey -M emacs "$keyinfo[Control]N" history-substring-search-down
bindkey -M vicmd "k" history-substring-search-up
bindkey -M vicmd "j" history-substring-search-down