miripiruni/vimi — Issue #16: Обновить :w!!
Author: miripiruni
Created: 2011-12-30 10:15:12+00:00
State: open

" Write file using sudo
command W exec 'w !sudo tee % > /dev/null' | e!

https://github.com/jahson/vimfiles/blob/master/vimrc#L433