summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-07-28 16:51:53 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-28 16:51:53 +0200
commiteaf3f36168f85c8e0ab7083cd996b9fbe937045d (patch)
tree7ec14ec4c431cda36ecada140c2552edb92fc4ae /src/globals.h
parent6868634abd6a49b2dfd3a994a6da7d5911457a37 (diff)
patch 8.2.3236: mode() does not indicate using CTRL-O in Select modev8.2.3236
Problem: mode() does not indicate using CTRL-O in Select mode. Solution: Use "vs" and similar. (closes #8640)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 529901437a..ebf236b000 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -882,6 +882,8 @@ EXTERN int VIsual_active INIT(= FALSE);
// whether Visual mode is active
EXTERN int VIsual_select INIT(= FALSE);
// whether Select mode is active
+EXTERN int restart_VIsual_select INIT(= 0);
+ // restart Select mode when next cmd finished
EXTERN int VIsual_reselect;
// whether to restart the selection after a
// Select mode mapping or menu