diff --git a/vimrc b/vimrc index 1b8eeec..93eb4c7 100644 --- a/vimrc +++ b/vimrc @@ -692,6 +692,9 @@ function CreateScratch() new|setl bt=nofile bh=wipe nobl return "" endfunction + +"write files as a root using sudo +command W w !sudo tee "%" > /dev/null "}}} " GUI: detect graphics mode, set colorscheme {{{ if has('gui_running')