Re:Vim Tips For Intermediate Users
by 1_player on Wednesday May 20, 2015 @12:37AM
(#9574704)
The most useful shortcut I have in my .vimrc is the ability to "sudo save":
No more exiting vim to start it again with sudo.
[ Parent
| on HN ]
That is one of the features I get from the https://github.com/tpope/vim-eunuch plugin (SudoWrite).
Huh. Well I kinda consider that `sudo` annoyance a feature. It tells me to think twice before potentially messing up badly. :-)
When I use :W is because I've been editing some system configuration files.. I know what I'm doing.
And messing up is half the fun of systems administration :)