来自autotag.vim :
install details
Simply source the file autoTag.vim from your .vimrc file. This utility will (obviously) only work when using vim that's been compiled with python support.
是否需要这个,因为这是 vim 中的 Python 插件,而不是 vim 脚本? .vim/plugin
中的插件不是自动加载的吗?
这个插件只有在我获取它时才有效。这是预期的行为吗,因为我正在使用 pathogen ?
最佳答案
没有什么区别:如果你把它放在 .vim/plugin
中,你就不需要从其他地方获取它。
附录
正如 Randy Morris 在评论中所解释的那样,凭借 pathogen.vim
的魔力,放置脚本的等效插件路径实际上是 .vim/bundle/autotag/plugin
.
关于python - 为什么某些 Vim 插件需要 "source"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3925562/