commit 7d281c1e50ca6b3c5900abdebf8d7b9839fae5b7 Author: Xerus <27jf@web.de> Date: Fri Sep 13 18:56:53 2019 +0200 add vimrc 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 %