1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

unposted: fix vi-pipe for visual mode: don't need to force line mode

This commit is contained in:
Oliver Kiddle 2016-07-28 16:07:59 +02:00
parent 26361e438b
commit 7830a8c498
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2016-07-28 Oliver Kiddle <opk@zsh.org>
* unposted: Functions/Zle/vi-pipe: fix for visual mode
2016-07-28 Peter Stephenson <p.stephenson@samsung.com>
* 38953: Doc/Zsh/contrib.yo,

View file

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