1" Tests for Visual mode. Uses double-wide character. 2if !has('multi_byte') 3 finish 4endif 5 6if !has('visual') 7 finish 8endif 9 10func Test_block_shift_multibyte() 11 split 12 call setline(1, ['xヹxxx', 'ヹxxx']) 13 exe "normal 1G0l\<C-V>jl>" 14 call assert_equal('x ヹxxx', getline(1)) 15 call assert_equal(' ヹxxx', getline(2)) 16 q! 17endfunc 18