diff options
| author | ckelsel <ckelsel@hotmail.com> | 2017-09-11 19:14:41 +0800 |
|---|---|---|
| committer | ckelsel <ckelsel@hotmail.com> | 2017-09-11 19:14:41 +0800 |
| commit | 5ad5bb0c0c1be5fec7e3073dc63d30e19ad26a82 (patch) | |
| tree | 9f9d762925f8457632ec80cc2082d0f0516a300b /src/nvim/testdir | |
| parent | af2dd6827299070d81218e9ba54646bfaf53607c (diff) | |
| parent | f51a397010dcf4a8308c3b0249810696375b82b2 (diff) | |
| download | rneovim-5ad5bb0c0c1be5fec7e3073dc63d30e19ad26a82.tar.gz rneovim-5ad5bb0c0c1be5fec7e3073dc63d30e19ad26a82.tar.bz2 rneovim-5ad5bb0c0c1be5fec7e3073dc63d30e19ad26a82.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_visual.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim index cf0e535937..74c26e3d66 100644 --- a/src/nvim/testdir/test_visual.vim +++ b/src/nvim/testdir/test_visual.vim @@ -15,3 +15,16 @@ func Test_block_shift_multibyte() call assert_equal(' ヹxxx', getline(2)) q! endfunc + +func Test_Visual_ctrl_o() + new + call setline(1, ['one', 'two', 'three']) + call cursor(1,2) + set noshowmode + set tw=0 + call feedkeys("\<c-v>jjlIa\<c-\>\<c-o>:set tw=88\<cr>\<esc>", 'tx') + call assert_equal(['oane', 'tawo', 'tahree'], getline(1, 3)) + call assert_equal(88, &tw) + set tw& + bw! +endfu |