summaryrefslogtreecommitdiff
path: root/Functions/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/vi-pipe3
1 files changed, 3 insertions, 0 deletions
diff --git a/Functions/Zle/vi-pipe b/Functions/Zle/vi-pipe
index c32e64a59..1729cb6e1 100644
--- a/Functions/Zle/vi-pipe
+++ b/Functions/Zle/vi-pipe
@@ -12,6 +12,9 @@ setopt localoptions noksharrays
autoload -Uz read-from-minibuffer
local _save_cut="$CUTBUFFER" REPLY
+# mark this widget as a vi change so it can be repeated as a whole
+zle -f vichange
+
# force movement to default to line mode
(( REGION_ACTIVE )) || zle -U V
# Use the standard vi-change to accept a vi motion.