Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Vim wgd to sudo write

  • Loading branch information...
commit 996eac95079d2f80059936a473b494c9688880ad 1 parent 8e9c38b
@raposalorx authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  .vimrc
View
2  .vimrc
@@ -112,6 +112,8 @@ colorscheme blackboard
nnoremap <space> za
vnoremap <space> zf
+" sudo write
+ca w!! w !sudo tee >/dev/null "%"
nnoremap <leader>nt :NERDTreeToggle<CR>
nnoremap <leader>nc :NERDTreeClose<CR>
Please sign in to comment.
Something went wrong with that request. Please try again.