From e8e01e6258f5c49d9b0f9efbf82c6e9f6dc7394c Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Tue, 11 Oct 2016 08:54:36 +0200 Subject: [PATCH] hsmw: Bind Ctrl-A, Ctrl-E to original Zle widgets --- history-search-multi-word | 3 +++ 1 file changed, 3 insertions(+) diff --git a/history-search-multi-word b/history-search-multi-word index 49fd108..cbdf754 100644 --- a/history-search-multi-word +++ b/history-search-multi-word @@ -201,6 +201,9 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then [ -n "$termcap[@7]" ] && bindkey -M hsmw "$termcap[@7]" .end-of-line [ -n "$terminfo[khome]" ] && bindkey -M hsmw "$terminfo[khome]" .beginning-of-line [ -n "$terminfo[kend]" ] && bindkey -M hsmw "$terminfo[kend]" .end-of-line + # The same for Ctrl-E, Ctrl-F + bindkey -M hsmw '^A' .beginning-of-line + bindkey -M hsmw '^E' .end-of-line # Additional keys bindkey -M hsmw '^P' "$up_widget"