Our sysadmins login to boxes using unprivileged accounts with sudo rights. I often, out of habit, open files in vim instead of sudoedit. I do not want to get into the habit of using sudoedit. My colleague suggested creating a vim symbolic link in the path that points to sudoedit. This just seems like a horrible idea to me.
I normally just :w /tmp/service.conf and then mv -i /tmp/service.conf /etc/
This seems clunky but I am almost inclined to say that I trust this process more than getting into the habit of using sudoedit or sudo vim.
Opinions?
Side note: We generally have easily accessible backups of these files so that is not a concern.