Can .vimrc .viminfo files be moved?
PHPz
PHPz 2017-05-16 16:34:05
0
2
617

I usually use debian8 to log in to my debian operating system.
/home/debian8 There are two files under .vimrc .viminfo
Later, in order to facilitate the installation of plug-ins, I created a new directory /home/debian8/.vim
Can I change .vimrc .viminfo Move to /home/debian8/.vim

After testing, the configuration cannot be read normally after moving. Can I change the settings after moving to make this move feasible?
Personally feel that this result
/home/debian8/.vim/.vimrc
/home/debian8/.vim/.viminfo
is better than the following
/home/debian8/. vimrc
/home/debian8/.viminfo

PHPz
PHPz

学习是最好的投资!

reply all(2)
漂亮男人

Then use -u and -i to specify it every time you start it

習慣沉默

ln -s /home/debian8/.vim/.vimrc /home/debian8/.vimrc

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!