diff --git a/vimrc b/vimrc index 295341b..1742eb3 100644 --- a/vimrc +++ b/vimrc @@ -304,6 +304,12 @@ if has('eval') inoremap =EmacsKill() endif +" w!! for sudo w! +cmap w!! w !sudo tee % >/dev/null + +" clear search +nnoremap :noh + " Disable q and Q map q map Q