OSの判定

 if has('unix') && system('which ack')
  set grepprg=ack\ -a
 endif

参考

http://superuser.com/questions/194715/how-to-make-vim-settings-computer-dependent-in-vimrc


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2012-04-06 (金) 18:06:31