Ctrl-P and Ctrl-N to move to previous and next entry

This commit is contained in:
Sebastian Gniazdowski 2016-09-20 07:04:28 +02:00
parent b666ef0004
commit 83bd58ba3e

View file

@ -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