tvbh2q
Last Updated: February 25, 2016
·
1.437K
· wkjagt
Ccc9abdf9963f3452808cff0e77679a1

.vimrc for root user

Whenever you do sudo vim somefile, your .vimrc will not be used, so your pretty color scheme won't be used etc. If you want to have a .vimrc file for the root user, create /root/.vimrc. If you're the only user ever using root, you could even symlink your own .vimrc file from /root.

Say Thanks
Respond