1
0
forked from aniani/vim

patch 7.4.1634

Problem:    Vertical movement after CTRL-A ends up in the wrong column.
            (Urtica Dioica)
Solution:   Set curswant when appropriate. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-03-21 23:13:32 +01:00
parent b763eba7ae
commit 8e08125d3a
3 changed files with 13 additions and 0 deletions

View File

@@ -5783,6 +5783,8 @@ do_addsub(
theend:
if (visual)
curwin->w_cursor = save_cursor;
else if (did_change)
curwin->w_set_curswant = TRUE;
return did_change;
}