Trik tee sudo

:w !sudo tee %
Careful Constrictor