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:
parent
26361e438b
commit
7830a8c498
2 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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…
Reference in a new issue