2009-12-29 kyoendo
* VIM: '': jump to prev pos
. : repeat prev act
% : search the word
daw: delete a word
cis: change inner sentence
* VIM: 複数のファイルを同時に開く: vim [-o] file1 file2 (o:split vie
w)
MacVimだと複数ウィンドウが開いてしまう
* VIM: surrounding.vim
yss" - hello world => "hello world"
ysaw" - h|ello world => "hello" world
cs"' - "hello world" => 'hello world'
visual mode: s" - add
* VIM: snipMate.vim
"<Tab>hello<Tab> => "hello"|
add snippet to snippet folder
* VIM: <C-c> or <C-[> in insert mode => <Esc>
Tuesday, December 29, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment