1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-14 15:51:13 +00:00
dotfiles/.vimrc

15 lines
252 B
VimL
Raw Normal View History

2019-11-17 16:28:00 +00:00
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null %
syntax on
2019-11-24 18:25:54 +00:00
" Use four spaces for indentation
2019-11-17 16:28:00 +00:00
set tabstop=4
set shiftwidth=4
set expandtab
2019-11-24 18:25:54 +00:00
" Disable visual mode
set mouse-=a
2019-11-17 16:28:00 +00:00
let mapleader=","