summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-09-25 19:35:02 +0200
committerBram Moolenaar <Bram@vim.org>2015-09-25 19:35:02 +0200
commit10ad1d90da8c464e1bf08bf23d92d4888378a8a1 (patch)
treec3e40aa76fa03c8197afa28aa4258cb3835c61db /src/testdir
parent5f1fea28f5bc573e2430773c49e95ae1f9cc2a25 (diff)
downloadvim-10ad1d90da8c464e1bf08bf23d92d4888378a8a1.zip
patch 7.4.883
Problem: Block-mode replace works characterwise instead of blockwise after column 147. (Issue #422) Solution: Set Visual mode. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_listlbr.in4
-rw-r--r--src/testdir/test_listlbr.ok3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_listlbr.in b/src/testdir/test_listlbr.in
index e5372d4de..52cbc100c 100644
--- a/src/testdir/test_listlbr.in
+++ b/src/testdir/test_listlbr.in
@@ -87,6 +87,10 @@ Go
abcd{ef
ghijklm
no}pqrs2k0f{c%
+:let g:test ="Test 11: using block replace mode after wrapping"
+:$put =g:test
+:set linebreak wrap
+Go150aayypk147|jr0
:%w! test.out
:qa!
ENDTEST
diff --git a/src/testdir/test_listlbr.ok b/src/testdir/test_listlbr.ok
index 295a9f737..ff30b46ee 100644
--- a/src/testdir/test_listlbr.ok
+++ b/src/testdir/test_listlbr.ok
@@ -49,3 +49,6 @@ A
Test 10: using normal commands after block-visual
abcdpqrs
+Test 11: using block replace mode after wrapping
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa