summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/vi-pipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/vi-pipe b/Functions/Zle/vi-pipe
index 028f1e1ce..c32e64a59 100644
--- a/Functions/Zle/vi-pipe
+++ b/Functions/Zle/vi-pipe
@@ -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 "!"