diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-01-14 13:18:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-01-14 13:18:58 +0100 |
commit | 6cd3aeee4c0fbd0751122395af0ab895abda027e (patch) | |
tree | 2969ceff007c4341114aafe9f11cd4ee9cb8f227 /src/testdir/test39.in | |
parent | 2cd3696c35877e2b3e8826336fb37833a3dfa4b6 (diff) | |
download | vim-git-6cd3aeee4c0fbd0751122395af0ab895abda027e.tar.gz |
updated for version 7.4.147v7.4.147
Problem: Cursor moves to wrong position when using "gj" after "$" and
virtual editing is active.
Solution: Make "gj" behave differently when virtual editing is active.
(Hirohito Higashi)
Diffstat (limited to 'src/testdir/test39.in')
-rw-r--r-- | src/testdir/test39.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test39.in b/src/testdir/test39.in index 4f42a13a5..8f45f47dc 100644 --- a/src/testdir/test39.in +++ b/src/testdir/test39.in @@ -52,6 +52,12 @@ ddppi333k0i222fyllvjfuUk G3o1234567892k05l2jr
G3o987652k02l2jr
G3o1234567892k05l2jr G3o987652k02l2jr +:" +:" Test cursor position. When ve=block and Visual block mode and $gj +:set ve=block +:exe ":norm! 2k\<C-V>$gj\<Esc>" +:let cpos=getpos("'>") +:$put ='col:'.cpos[2].' off:'.cpos[3] :/^the/,$w >> test.out :qa! ENDTEST |