mirror of
https://github.com/vim/vim.git
synced 2026-02-10 20:26:43 +01:00
19 lines
360 B
Plaintext
19 lines
360 B
Plaintext
Tests for Unicode manipulations vim: set ft=vim :
|
|
|
|
STARTTEST
|
|
:so small.vim
|
|
:set encoding=utf-8
|
|
:" Visual block Insert adjusts for multi-byte char
|
|
:new
|
|
:call setline(1, ["aaa", "あああ", "bbb"])
|
|
:exe ":norm! gg0l\<C-V>jjIx\<Esc>"
|
|
:let r = getline(1, '$')
|
|
:
|
|
:bwipeout!
|
|
:$put=r
|
|
:call garbagecollect(1)
|
|
:/^start:/,$wq! test.out
|
|
ENDTEST
|
|
|
|
start:
|