使用如下插件:

https://github.com/alanstevens/KickAssVim/blob/master/config/sudoW.vim

使用方法:

在命令模式下输入:SudoW