Mercurial > vim
diff src/globals.h @ 25398:4101d78f78e2 v8.2.3236
patch 8.2.3236: mode() does not indicate using CTRL-O in Select mode
Commit: https://github.com/vim/vim/commit/eaf3f36168f85c8e0ab7083cd996b9fbe937045d
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Jul 28 16:51:53 2021 +0200
patch 8.2.3236: mode() does not indicate using CTRL-O in Select mode
Problem: mode() does not indicate using CTRL-O in Select mode.
Solution: Use "vs" and similar. (closes https://github.com/vim/vim/issues/8640)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 28 Jul 2021 17:00:05 +0200 |
parents | cb92a49cc8e7 |
children | 6f13d9ea0d04 |
line wrap: on
line diff
--- 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