-
Vim+xmpfilterでirbいらずのRuby試行錯誤開発 – ナレッジエース
”
で現在行/選択行にxmpfilterを実行 map!xmpfilter -a nmapVimapa ”でバッファ全体にxmpfilterを実行 nmapmzggVG!xmpfilter -a’z imap”で現在行/選択行に「# =>」マークを追加 vmap!xmpfilter -m nmapVimapa ”で現在行/選択行の「# =>」マークを削除 vmapms:call RemoveRubyEval() nmapVimapa function! RemoveRubyEval() range let begv = a:firstline let endv = a:lastline normal Hmt set lz execute “:” . begv . “,” . endv . ’s/\s*# \(=>\|!!\).*$//e’ normal ‘tzt`s set nolz redraw endfunction
diigo2ZerockBlog 07/02/2008
7月 2, 2008 · コメントを書く
カテゴリー: Uncategorized




0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
コメントを投稿するには、ログインが必要です。