diff options
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index d22dcad020..e88d1d611c 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -4416,6 +4416,7 @@ int do_addsub(int command, linenr_T Prenum1, bool g_cmd) did_change = true; (void)del_char(false); ins_char(firstdigit); + curwin->w_cursor.col = col; } else { if (col > 0 && ptr[col - 1] == '-' && !visual) { // negative number |