1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 06:58:01 +00:00

Add .vimrc

This commit is contained in:
Daniel Carrillo 2019-11-17 17:28:00 +01:00
parent 57608caf2a
commit 9d6bbeae7c

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=","