diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/normal.c | 2 | ||||
-rw-r--r-- | src/testdir/test_listlbr.in | 4 | ||||
-rw-r--r-- | src/testdir/test_listlbr.ok | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
4 files changed, 10 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 69b0dcecb..b994056e6 100644 --- a/src/normal.c +++ b/src/normal.c @@ -9596,7 +9596,7 @@ get_op_vcol(oap, redo_VIsual_vcol, initial) || (!initial && oap->end.col < W_WIDTH(curwin))) return; - oap->block_mode = VIsual_active; + oap->block_mode = TRUE; #ifdef FEAT_MBYTE /* prevent from moving onto a trail byte */ 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 diff --git a/src/version.c b/src/version.c index 586ce19c9..38fdf93bd 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 883, +/**/ 882, /**/ 881, |