mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 19:48:01 +00:00
15 lines
252 B
VimL
15 lines
252 B
VimL
" Allow saving of files as sudo when I forgot to start vim using sudo.
|
|
cmap w!! w !sudo tee > /dev/null %
|
|
|
|
syntax on
|
|
|
|
" Use four spaces for indentation
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
set expandtab
|
|
|
|
" Disable visual mode
|
|
set mouse-=a
|
|
|
|
let mapleader=","
|