vim sudo escribir

For Neovim: https://github.com/lambdalisue/suda.vim

"In init.vim
Plug 'lambdalisue/suda.vim'

Run :SudaRead
It will prompt for password when you next try to :w
Careful Chimpanzee