Pathogen
Vim プラグインの管理に使用しようとしています。で作成したスクリプトがいくつかありました.vim/ftplugins
。
Pathogen をインストールしましたが、ftplugins のスクリプトが実行されません。
スクリプトを使用して内部にディレクトリを追加しようとし.vim/bundle
ましたが、機能しませんでした(そうでした.vim/bundle/local/ftplugin/python.vim
)
Pathogen にスクリプトを ftplugin ディレクトリに読み込ませるにはどうすればよいでしょうか?
my の最初の行.vimrc
:
set nocompatible
syntax on
filetype plugin indent on
"execute pathogen#infect()
その行がコメントアウトされている場合にのみ機能します。
gvim
次のように、ファイル名を最初のパラメータとして Bash プロンプトから実行しています。
$ gvim some/path/somefile.py
~/.vim/ftplugin/python.vim で定義された Python ファイル用の定義済みのカラースキームと、そのスクリプトで定義された他のすべての設定を含むファイルが表示されることを期待しています。
~/.vim/bundle ディレクトリは空です。
病原体は ~/.vim/autoload にあり、そこには何もありません。
$ ls ~/.vim/ftplugin/
css.vim html.vim javascript.vim python_pep8.vim python_pyflakes.vim python.vim rst.vim xml.vim
$ ls ~/.vim
autoload bundle colors doc ftdetect ftplugin plugins ScrollColor.vim spell syntax