+ 3
- 0
@@ -60,6 +60,9 @@ nmap <leader>g :GitGutterToggle<CR>
Created by: MZAWeb
see "understanding tee" in the first answer here:
http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work
Created by: MZAWeb
Add force sudo shorthand
Preferences
Any reason not to use sudo cat > %
?
Created by: MZAWeb
see "understanding tee" in the first answer here:
http://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work
Oh, right, duh. I always seem to forget that it'd be the non-superuser writing to the file with cat
. Thanks for the reminder!
Is this supposed to be
" in case you forgot to sudo
?Created by: MZAWeb
Yes, sorry.