Kepler
Kepler

Reputation: 15

Can't save files created with vim anymore

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

Answers (2)

gzh
gzh

Reputation: 3596

This page give a detail introduction about vi/vim configuration file, you can read it to find what you need.

Upvotes: 0

romainl
romainl

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

Related Questions