咨询一上 vimball如何安装,按照网下的资料都不行

咨询一上 vimball如何安装,按照网下的资料都不行

咨询一下 vimball怎么安装,按照网上的资料都不行?
网上有说解压vimball.tar.gz,然后把doc和plugin文档赋值到vim的安装目录下,操作后,打开vim就报错,提示,处理vimballPlugin.vim出错


For vim 7.0, otherwise skip to step 2: 
1. Remove all vestiges of any older version of vimball. Typically, that means: 
cd /usr/local/share/vim/vim70 
rm plugin/vimball*.vim 
rm autoload/vimball*.vim 

Under Windows, the vim70 install point may vary. 

2. I’ve decided that the vimball plugin itself should not expect that vimball is available to extract it. 
Hence, it is now being distributed as vimball.tar.gz. To unravel that: 
* change directory to the directory holding the plugin/ and autoload/ directories where you want to install vimball. 
It is probably best to install the new vimball in the distribution directory. 
* gunzip vimball.tar.gz 
* tar -oxvf vimball.tar 
* (unix) chmod a+r autoload/vimball.vim doc/pi_vimball.txt plugin/vimballPlugin.vim 

http://www.vim.org/scripts/script.php?script_id=1502


我总结了下:
用解压得到的 autoload/vimbal.vim , doc/pi_vimball.txt , plugin/vimballPlugin.vim

替换掉: /usr/share/vim7*/ 目录下对应目录中的文件

然后:
# cd /usr/share/vim7*/
# chmod a+r autoload/vimball.vim doc/pi_vimball.txt plugin/vimballPlugin.vim

对了,楼主 vim 版本?

咨询一上 vimball如何安装,按照网下的资料都不行

相关文章:

你感兴趣的文章:

标签云: