Add .vimrc

This commit is contained in:
Daniel Carrillo 2019-11-17 17:28:00 +01:00
parent 57608caf2a
commit 9d6bbeae7c
1 changed files with 9 additions and 0 deletions

9
.vimrc Normal file
View File

@ -0,0 +1,9 @@
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
syntax on
set tabstop=4
set shiftwidth=4
set expandtab
let mapleader=","