1 " Tests for various Visual mode.
8 func Test_block_shift_multibyte()
9 " Uses double-wide character.
14 call setline(1, ['xヹxxx', 'ヹxxx'])
15 exe "normal 1G0l\<C-V>jl>"
16 call assert_equal('x ヹxxx', getline(1))
17 call assert_equal(' ヹxxx', getline(2))
21 func Test_dotregister_paste()
23 exe "norm! ihello world\<esc>"
25 call assert_equal('hello world world', getline(1))
29 func Test_Visual_ctrl_o()
31 call setline(1, ['one', 'two', 'three'])
35 call feedkeys("\<c-v>jjlIa\<c-\>\<c-o>:set tw=88\<cr>\<esc>", 'tx')
36 call assert_equal(['oane', 'tawo', 'tahree'], getline(1, 3))
37 call assert_equal(88, &tw)
42 func Test_Visual_vapo()
49 func Test_Visual_inner_quote()