diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-01-12 15:42:37 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-01-12 15:42:37 +0100 |
commit | 5890b2cf9eb203ebfdb3823f21437f7757329b26 (patch) | |
tree | 8802ad6ce41836b210abbe3d68a8a313d4b7a8b6 /src/normal.c | |
parent | e37d79928d4f3a70fffad086241e65d21dd9e1c3 (diff) | |
download | vim-git-5890b2cf9eb203ebfdb3823f21437f7757329b26.tar.gz |
updated for version 7.2.329v7.2.329
Problem: "g_" doesn't position cursor correctly when in Visual mode and
'selection' is "exclusive". (Ben Fritz)
Solution: Call adjust_for_sel().
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index befe4ac9e..0c2325d93 100644 --- a/src/normal.c +++ b/src/normal.c @@ -7873,6 +7873,9 @@ nv_g_cmd(cap) && vim_iswhite(ptr[curwin->w_cursor.col])) --curwin->w_cursor.col; curwin->w_set_curswant = TRUE; +#ifdef FEAT_VISUAL + adjust_for_sel(cap); +#endif } break; |