LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2210|回复: 1

vim新手,不知道如何安装启动插件

[复制链接]
发表于 2007-7-24 23:24:14 | 显示全部楼层 |阅读模式
如题!我下载了rails.vim的插件,不知道怎么用,我是在suse 下用vim的。
发表于 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.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表