summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-11-25 23:07:46 +0100
committerOliver Kiddle <opk@zsh.org>2016-11-25 23:07:53 +0100
commit5dc7b35ff6edbecad8ee077de44d880eb7907a6f (patch)
tree0a3e37170176e237f10c8014c3ed01e857e7a78c
parenta7f5db14b35dd550adea66efdbe66387ac566bac (diff)
downloadzsh-5dc7b35ff6edbecad8ee077de44d880eb7907a6f.tar.gz
zsh-5dc7b35ff6edbecad8ee077de44d880eb7907a6f.zip
unposted: set new vichange flag for surround widget
-rw-r--r--ChangeLog2
-rw-r--r--Functions/Zle/surround1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ec718973..0c8e81776 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2016-11-25 Oliver Kiddle <opk@zsh.org>
+ * unposted: Functions/Zle/surround: set new vichange flag
+
* 40020: Completion/Unix/Command/_cscope: new completion
2016-11-25 Laurent Arnoud <laurent@spkdev.net>
diff --git a/Functions/Zle/surround b/Functions/Zle/surround
index 348ceecc2..b51b77c04 100644
--- a/Functions/Zle/surround
+++ b/Functions/Zle/surround
@@ -19,6 +19,7 @@ local before after
local -A matching
matching=( \( \) \{ \} \< \> \[ \] )
+zle -f vichange
case $WIDGET in
change-*)
local MARK="$MARK" CURSOR="$CURSOR" call