" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
Reference:
http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work
There always something going on, they are ordinary moment...
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
Reference:
http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work