My vim under Linux has three vimrcs, what are the differences?
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 16:42:19
0
4
1071

I just revised the question, here it is, I am Linux, I found that there are three vimrcs: /etc/vim/vimrc, /usr/share/vim/vimrc and /usr/share/vim/vimfiles/ vimrc, what's the difference?

过去多啦不再A梦
过去多啦不再A梦

reply all(4)
Ty80

I guess you may be using vim under win. _vimrc in $VIM (that is, your /vim) is the global configuration file, and _vimrc in $HOME is the current user's configuration file. As for /vim/vimfiles, you don’t need vimrc (usually there doesn’t seem to be one).

Use the :version command in vim to see the following information:

滿天的星座

:version Take your time

刘奇

vim -u /path/to/your/vimrc

洪涛

Default configuration files and so on... If you want to use it, you have to create a new ~/.vimrc in the home directory and configure it slowly by yourself

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template