Mercurial > vim
view src/testdir/test_blockedit.vim @ 13755:5f94d5556dae
Added tag v8.0.1749 for changeset 0d199e59a98865c39e044af6e4e933860d0384b5
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 23 Apr 2018 21:00:07 +0200 |
parents | 4faf77b96432 |
children | 7ed76dcf0d94 |
line wrap: on
line source
" Test for block inserting " " TODO: rewrite test39.in into this new style test func Test_blockinsert_indent() new filetype plugin indent on setlocal sw=2 et ft=vim call setline(1, ['let a=[', ' ''eins'',', ' ''zwei'',', ' ''drei'']']) call cursor(2, 3) exe "norm! \<c-v>2jI\\ \<esc>" call assert_equal(['let a=[', ' \ ''eins'',', ' \ ''zwei'',', ' \ ''drei'']'], \ getline(1,'$')) " reset to sane state filetype off bwipe! endfunc " vim: shiftwidth=2 sts=2 expandtab