mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2025-02-16 11:08:23 +00:00
Put cursor at the end of accepted search result
This commit is contained in:
parent
f2f3493056
commit
b4d189af3f
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
|
||||
if zle recursive-edit -K zhcw; then
|
||||
BUFFER="${__hsmw_hcw_found[__hsmw_hcw_index]}"
|
||||
CURSOR="${#BUFFER}"
|
||||
fi
|
||||
zle -M ""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue