Reputation: 15
I usually am able to save my vim files but for some reason i am getting E212 can't open file for writing. I am using mac osx. I am confused on how to edit my .vimrc file, and that there are two? one for the system and one for user.
Upvotes: 0
Views: 460
Reputation: 3596
This page give a detail introduction about vi/vim configuration file, you can read it to find what you need.
Upvotes: 0
Reputation: 196456
The one you are supposed to edit is either ~/.vimrc
(all Vim versions, including 7.4 and up) or ~/.vim/vimrc
(only 7.4 and up).
Upvotes: 1