aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 01c3d93..2a28eb6 100644
--- a/vimrc
+++ b/vimrc
@@ -106,5 +106,5 @@ inoremap <Leader><Tab> <Tab>
set isfname+=32
"save as root
-nnoremap <leader>r :silent exe “write !sudo tee % >/dev/null” | silent edit!
+nnoremap <leader>r :w !sudo tee % >/dev/null <CR>