From 7d281c1e50ca6b3c5900abdebf8d7b9839fae5b7 Mon Sep 17 00:00:00 2001 From: Xerus <27jf@web.de> Date: Fri, 13 Sep 2019 18:56:53 +0200 Subject: [PATCH] add vimrc --- .config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .config/nvim/init.vim diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..b7b8908 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,2 @@ +" Allow saving of files as sudo when I forgot to start vim using sudo. +cmap w!! w !sudo tee > /dev/null %