summaryrefslogtreecommitdiff
path: root/src/testdir/test_put.vim
blob: 612bdabb6c4c50bcba0a3adbeb370fa79ee790dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12

func Test_put_block()
  if !has('multi_byte')
    return
  endif
  new
  call feedkeys("i\<C-V>u2500\<CR>x\<ESC>", 'x')
  call feedkeys("\<C-V>y", 'x')
  call feedkeys("gg0p", 'x')
  call assert_equal("\u2500x", getline(1))
  bwipe!
endfunc