Created
August 8, 2014 06:21
-
-
Save mattn/19a6e4235c6603f39724 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tests for visual block and insert/append letter in horizontal vim: set ft=vim : | |
STARTTEST | |
:so small.vim | |
: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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start: | |
axaa | |
xあああ | |
bxbb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment