aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--vimrc3
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index fcb6a72..d802d42 100644
--- a/README.md
+++ b/README.md
@@ -11,3 +11,4 @@ GNU screen
X11
And other useful scripts utilising them.
+
diff --git a/vimrc b/vimrc
index dcd8341..01c3d93 100644
--- a/vimrc
+++ b/vimrc
@@ -106,4 +106,5 @@ inoremap <Leader><Tab> <Tab>
set isfname+=32
"save as root
-nnoremap <leader>r :w !sudo tee %<cr>
+nnoremap <leader>r :silent exe “write !sudo tee % >/dev/null” | silent edit!
+