最近 .vimrcを貼り付けるのが流行ってるみたいなので自分も.vimrcを貼り付け、るわけでなくオススメの plugin を紹介してみようかと。 Align.vim http://www.vim.org/scripts/script.php?script_id=294 痒いところに手が届く整形ぷらぎん。 options = { width => 100, height => 50, background => nil, } なソースを範囲選択して :'<,'>Align => すると options = { width => 100, height => 50, background => nil, } のように整形してくれます。 Allargs.vim すべてのバッファでコマンドを実行。例えば開いてるバッファのすべての文字列を置換したければ、 :Allargs %s/perl/ruby
概要vim online Tip #271: easy (un)commenting out of source code http://www.vim.org/tip_view.php?tip_id=271 Visual Modeで指定した範囲のソースにコメントを付けたり、外したりするスクリプトです。 インストール方法vim onlineのTip #271 を参考にして、 スクリプトを製作しました。 中身は以下のようになっています。 " commentout.vim " lhs comments vmap ,# :s/^/#/<CR>:nohlsearch<CR> vmap ,/ :s/^/\/\//<CR>:nohlsearch<CR> vmap ,> :s/^/> /<CR>:nohlsearch<CR> vmap ," :s/^/\"/<CR>:nohlsearch<CR> v
This plugin enablesvim to yank and paste through the multi processes. If :call YanktmpYank(), yank string write to tmpfile. And :call YanktmpPaste_p() or YanktmpPaste_P(), paste string from tmpfile. Default tmp file is '/tmp/vimyanktmp' If you want to change tmp file. let g:yanktmp_file = '/tmp/example_tmp_file' ==================== file yanktmp.vimrc ====================map <silent> sy :call Ya
Surround.vim is all about "surroundings": parentheses, brackets, quotes, XML tags, and more. The plugin providesmappings to easily delete, change and add such surroundings in pairs. Whileit works underVim 6, much of the functionality requiresVim 7. Examples follow. It is difficult to providegood examples in the variable width font of this site; check the documentation for more. Press cs"'
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く