Topics related to the configuration of the VI editor.

learn more… | top users | synonyms

22
votes
4answers
6k views

vim re-edit as root

I often open a file in vim, make some changes and when it's time to save the file is read-only.. (owned by another user). I'm looking for tips on how I could re-open the file as root and keep my ...
21
votes
10answers
3k views

Suggestions for entries in a sysadmins .vimrc

At the very least I always uncomment "syntax on" in /etc/vim/vimrc