diff --git a/.vimrc b/.vimrc index 12586b2..fe79bb1 100644 --- a/.vimrc +++ b/.vimrc @@ -396,8 +396,11 @@ inoremap "+pa " map gV to select previously pasted nnoremap gV "`[".getregtype(v:register)[0]."`]" " +cnoremap w1 w! + " Set :w!! to save with sudo cnoremap w!! w !sudo tee % +cnoremap w11 w !sudo tee % "Run current line as command nnoremap q !!$SHELL