re: The Vim Trick Which Will Save Your Time and Nerves VIEW POST

re: Or use the chmod command to change the permissions of the file right? Idk about you guys but I'm not particularly comfortable with running vim thr...

This 'trick' alleviates the need to run vim itself as root. Changing permissions is not always preferable. How do you edit system configs? Full blown root user?

Your paranoia has caused you to be less safe...


sudoedit (or sudo -e) is the right way to do when you have not yet open the file with Vim.

code of conduct - report abuse