diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-07-03 12:13:11 +0300 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-07-03 12:13:11 +0300 |
commit | d94db1162c2252590d4baa38c4b29a2d8709a747 (patch) | |
tree | e5761fb529aeb97c62e20b548e5efdccf4538050 /vimrc | |
parent | 6210aad0e7fbb05115492394e3335e752f310fb7 (diff) | |
parent | b1f0479e93b1034c33564408e210fcaadf07d8c0 (diff) | |
download | dotfiles-d94db1162c2252590d4baa38c4b29a2d8709a747.tar.gz dotfiles-d94db1162c2252590d4baa38c4b29a2d8709a747.tar.bz2 dotfiles-d94db1162c2252590d4baa38c4b29a2d8709a747.zip |
vimrc better sudo save
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -106,4 +106,5 @@ inoremap <Leader><Tab> <Tab> set isfname+=32 "save as root -nnoremap <leader>r :w !sudo tee %<cr> +nnoremap <leader>r :silent exe “write !sudo tee % >/dev/null” | silent edit! + |