summaryrefslogtreecommitdiff
path: root/src/testdir/test39.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-01-14 13:18:58 +0100
committerBram Moolenaar <Bram@vim.org>2014-01-14 13:18:58 +0100
commit6cd3aeee4c0fbd0751122395af0ab895abda027e (patch)
tree2969ceff007c4341114aafe9f11cd4ee9cb8f227 /src/testdir/test39.in
parent2cd3696c35877e2b3e8826336fb37833a3dfa4b6 (diff)
downloadvim-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.in6
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