mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-21 19:03:11 +00:00
hsmw: Bind Ctrl-A, Ctrl-E to original Zle widgets
This commit is contained in:
parent
ca39f019ef
commit
e8e01e6258
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue