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