DEV Community

Discussion on: The Vim Trick Which Will Save Your Time and Nerves

Collapse
 
jdnewman85 profile image
jdnewman85

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...

Collapse
 
italovieira profile image
Ítalo Vieira • Edited

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