nic@pype ~/suda-vim-for-sudo-access-to-files
infra · automation · writing
role: Disciple · Husband · Father · Developer

suda.vim for sudo access to files

I regularly need to edit system config files - take /etc/sanoid/sanoid.conf as an example... I'll want to play with something but if I don't start Neovim as root then I get in trouble making edits I can't save! So suda.vim gives me :SudaWrite which let's me write that buffer with sudo privileges even though I'm Neovim is running with my login user!