Monday, August 3, 2009

Vim in OpenSolaris revisited

In OpenSolaris, I kept trying to use vim commands I would use in Linux that would make me want to tear my hear out. In trying to find out the list of possible commands so I would stop tearing out my hair while editing files, I noticed that Vim said it was running in compatibility mode. Apparently, Vim can create/edit files that are compatible with Vi. And editing files with Vi sucks if you're used to Vim. I found out how to break out of this by looking at the help file. I'll make it easier for you.

#touch ~/.vimrc

And done. You will no longer start in compatibiltiy mode anymore. Oh happy days

No comments:

Post a Comment