diff options
author | watiko <service@mail.watiko.net> | 2016-01-14 21:37:25 +0900 |
---|---|---|
committer | watiko <service@mail.watiko.net> | 2016-02-01 03:43:37 +0900 |
commit | 61a3b14726fe54ac6a8949cad79a91ce9b6739a9 (patch) | |
tree | 2cf7db5a7d075113feb95173c01886b9e2b7f07b /src/nvim/ops.c | |
parent | 9664f513f476b896f81451e1427fc47a60ecea96 (diff) | |
download | rneovim-61a3b14726fe54ac6a8949cad79a91ce9b6739a9.tar.gz rneovim-61a3b14726fe54ac6a8949cad79a91ce9b6739a9.tar.bz2 rneovim-61a3b14726fe54ac6a8949cad79a91ce9b6739a9.zip |
vim-patch:7.4.823
Problem: Cursor moves after CTRL-A on alphabetic character.
Solution: (Hirohito Higashi, test by Christian Brabandt)
https://github.com/vim/vim/commit/25c2f6783a9d5f15e062bd5b085abe7deb121152
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 |