diff options
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 0ea3525c50..731c99623c 100644 --- a/src/globals.h +++ b/src/globals.h @@ -585,6 +585,12 @@ EXTERN pos_T saved_cursor /* w_cursor before formatting text. */ */ EXTERN pos_T Insstart; /* This is where the latest * insert/append mode started. */ + +// This is where the latest insert/append mode started. In contrast to +// Insstart, this won't be reset by certain keys and is needed for +// op_insert(), to detect correctly where inserting by the user started. +EXTERN pos_T Insstart_orig; + /* * Stuff for VREPLACE mode. */ |