在使用公司开发机做开发时会使用同样的账户,不同的人使用vi有不同的习惯。
怎样在启动vi时指定属于自己的配置文件和扩展目录?
怎样在启动vi时指定属于自己的配置文件和扩展目录?
1
yangg Feb 25, 2014
vim -v <vimrc>
or set extrc To Eenables the reading of .vimrc, .exrc and .gvimrc in the current directory |
2
yangg Feb 25, 2014
哦,那就 -v 了,然后可以 let &rtp = substitute(&rtp, '.vim', '.your_plugin_folder', 'g')
|
3
duhastmich Feb 25, 2014
为什么用同样的账户
|
4
happyhacker Sep 1, 2015
vim -u myvimrc
|