1
0
Fork 0
mirror of synced 2024-06-02 23:41:09 -04:00

Add override command for sudo save.

This commit is contained in:
Maksim Pecherskiy 2014-10-27 10:50:52 -07:00
parent 1c7abcd59e
commit bcbbdb653e

View file

@ -63,7 +63,7 @@ nmap <leader>w :w!<cr>
" :W sudo saves the file
" (useful for handling the permission-denied error)
command W w !sudo tee % > /dev/null
command! W w !sudo tee % > /dev/null
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""