mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2025-02-16 11:08:23 +00:00
Ctrl-P and Ctrl-N to move to previous and next entry
This commit is contained in:
parent
b666ef0004
commit
83bd58ba3e
1 changed files with 4 additions and 0 deletions
|
@ -182,6 +182,10 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
[ -n "$terminfo[khome]" ] && bindkey -M hsmw "$terminfo[khome]" .beginning-of-line
|
||||
[ -n "$terminfo[kend]" ] && bindkey -M hsmw "$terminfo[kend]" .end-of-line
|
||||
|
||||
# Additional keys
|
||||
bindkey -M hsmw '^P' "$up_widget"
|
||||
bindkey -M hsmw '^N' "$down_widget"
|
||||
|
||||
# Needed for Fedora 23, zsh-5.1.1
|
||||
bindkey -M hsmw ' ' self-insert
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue