I had some minor annoyance while using Vim on the commandline. Whenever I did:
sudo vim my Vim plugin wheren’t loaded (root had no .vimrc). I discovered that you can add environmental variables to sudo so I added this to my
alias sudo="sudo MYVIMRC=$HOME/.vimrc"