aboutsummaryrefslogtreecommitdiff
path: root/.vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vim/vimrc')
-rw-r--r--.vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 9d93917..0857bcf 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -85,6 +85,8 @@ function Fileheader()
cursor(1,1)
endfunction
+command -bar Suw :w !SUDO_ASKPASS="/usr/lib/ssh/ssh-askpass" sudo -A tee %
+
" Command HEXMODE
command -bar Hexmode call ToggleHex()