Merge branch 'master' of github.com:amix/vimrc
This commit is contained in:
commit
57ba28a9a2
|
@ -50,7 +50,7 @@ nmap <leader>w :w!<cr>
|
||||||
|
|
||||||
" :W sudo saves the file
|
" :W sudo saves the file
|
||||||
" (useful for handling the permission-denied error)
|
" (useful for handling the permission-denied error)
|
||||||
command! W w !sudo tee % > /dev/null
|
command! W execute 'w !sudo tee % > /dev/null' <bar> edit!
|
||||||
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
Loading…
Reference in a new issue