add vimrc

This commit is contained in:
Xerus 2019-09-13 18:56:53 +02:00
commit 7d281c1e50
1 changed files with 2 additions and 0 deletions

2
.config/nvim/init.vim Normal file
View File

@ -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 %