diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-07-28 11:21:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-07-28 11:21:32 +0200 |
commit | 31b259bf9571cae6408be3ef75d9485e24029be5 (patch) | |
tree | c4af83ad0c9d6cc0ea766f5d0641136ba091ef99 /src/testdir | |
parent | 5f95f288a2d303be1571e818655fd90e399ee58e (diff) | |
download | vim-31b259bf9571cae6408be3ef75d9485e24029be5.zip |
patch 7.4.798
Problem: Repeating a change in Visual mode does not work as expected.
(Urtica Dioica)
Solution: Make redo in Visual mode work better. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_listlbr.in | 6 | ||||
-rw-r--r-- | src/testdir/test_listlbr.ok | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/testdir/test_listlbr.in b/src/testdir/test_listlbr.in index 6af48a75e..164f12a80 100644 --- a/src/testdir/test_listlbr.in +++ b/src/testdir/test_listlbr.in @@ -74,6 +74,12 @@ Golong line: 40afoobar aTARGET at end :let g:test ="Test 8: set linebreak with visual char mode and changing block" :$put =g:test Go1111-1111-1111-11-1111-1111-11110f-lv3lc2222bgj. +:let g:test ="Test 9: using redo after block visual mode" +:$put =g:test +Go +aaa +aaa +a2k2j~e. :%w! test.out :qa! ENDTEST diff --git a/src/testdir/test_listlbr.ok b/src/testdir/test_listlbr.ok index 82881234c..323bcdee0 100644 --- a/src/testdir/test_listlbr.ok +++ b/src/testdir/test_listlbr.ok @@ -41,3 +41,8 @@ Test 7: set linebreak with visual block mode and v_b_A long line: foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end Test 8: set linebreak with visual char mode and changing block 1111-2222-1111-11-1111-2222-1111 +Test 9: using redo after block visual mode + +AaA +AaA +A |