Created
December 11, 2013 04:47
-
-
Save jiikko/7905203 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
let tmp_text = "" | |
func! SayHoi() | |
" グローバルな変数をsplitして無関係な文字を返す | |
split(g:tmp_text, ".") | |
echo("ko") | |
return "koko" | |
endfunc | |
" 現在の行の.でsplitする | |
let texts = split(getline("."), ".") | |
" 行数を返す | |
let line = line(".") | |
" 列数かえす | |
let col = col(".") | |
" カーソルの位置を変更する | |
call cursor(line + 1, col) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment