pathogenでロードしないモジュールを指定する

  • 以下のようにbundleディレクトリにvim-fooというモジュールがあるとする。
     $VIMFILES/bundle/vim-foo
  • これを読み込まないようにするには.vimrcを以下のようにして、g:pathogen_disabledにモジュール名を追加する。
     let g:pathogen_disabled = []
     
     if v:version < '703'
       call add(g:pathogen_disabled, 'vim-foo')
     endif
     
     execute pathogen#infect()

参考

http://stackoverflow.com/questions/4261785/temporarily-disable-some-plugins-using-pathogen-in-vim


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

Last-modified: 2015-07-28 (火) 03:00:19