|
发表于 2007-7-30 10:28:20
|
显示全部楼层
在下载插件(www.vim.org/scripts)时认真看一下说明:
rails.vim : Ruby on Rails: easy file navigation, enhanced syntax highlighting, and more
script type
utility
install details
Extract the zip file to ~/.vim (or vimfiles on Windows). To use the help, see :help add-local-help. In a nutshell, :helptags ~/.vim/doc.
For details, see :help rails
---------------------------------------
注意插件的类型,一般只需要把它放入~/.vim相应的目录就可以了,还没用过source
How do I install scripts?
Utility scripts need to be "sourced" from your vimrc (:help source) or in 6.0 you can just add the scripts to the plugin directory. Syntax files should be saved in the syntax directory. 6.0 supports indent scripts which should be saved in the indent directory and color scheme scripts which need to be sourced from your vimrc. |
|