summaryrefslogtreecommitdiffstats
path: root/Src/Zle/zle_vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/zle_vi.c')
-rw-r--r--Src/Zle/zle_vi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c
index 6692df830..667063774 100644
--- a/Src/Zle/zle_vi.c
+++ b/Src/Zle/zle_vi.c
@@ -186,6 +186,7 @@ getvirange(int wf)
virangeflag = 1;
wordflag = wf;
mark = -1;
+ cursor_form();
/* use operator-pending keymap if one exists */
Keymap km = openkeymap("viopp");
if (km)