Second user vimrc file usage on vim running on Mac os X 10.8.5 (Mountain Lion)

Posted by Deesbek on Super User See other posts from Super User or by Deesbek
Published on 2013-10-16T13:27:53Z Indexed on 2013/10/18 15:59 UTC
Read the original article Hit count: 194

I am using MacVim:

:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 17:49:20)
MacOS X (unix) version

I've executed :version in vim (to check what patches I had installed) and noticed the following two lines part of the output:

 user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"

What is the 2nd user for, and how would you use it?

I've found and read this question:http://apple.stackexchange.com/q/34996/10733,

but the answer shows how to integrate the ~/.vim/vimrc into .vimrc.

I also did the following search in google which did not yield anything interesting: 2nd user in vim and ~/.vim/vimrc, and how to use ~/.vim/vimrc

© Super User or respective owner

Related posts about vim

Related posts about osx-mountain-lion