mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-24 04:50:27 +02:00
unposted: fix vi-pipe for visual mode: don't need to force line mode
This commit is contained in:
parent
26361e438b
commit
7830a8c498
2 changed files with 5 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ autoload -Uz read-from-minibuffer
|
|||
local _save_cut="$CUTBUFFER" REPLY
|
||||
|
||||
# force movement to default to line mode
|
||||
zle -U V
|
||||
(( REGION_ACTIVE )) || zle -U V
|
||||
# Use the standard vi-change to accept a vi motion.
|
||||
zle .vi-change || return
|
||||
read-from-minibuffer "!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue