X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/58b04a471e1a534709b43e60fe3c3519290218e2..2c667b7e7c82481b11b03d111ce0a81f9b4ca701:/vim/.vimrc?ds=inline diff --git a/vim/.vimrc b/vim/.vimrc index 30a982c..7b64c49 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -120,8 +120,8 @@ function! StripWhitespace() call setreg('/', old_query) endfunction noremap ss :call StripWhitespace() -" Save a file as root (,W) -noremap W :w !sudo tee % > /dev/null +" Save a file as root (,w) +noremap w :w !sudo tee % > /dev/null " Automatic commands if has("autocmd")