confpub/vimrc

20 lines
389 B
VimL
Raw Permalink Normal View History

2021-08-11 11:04:06 +00:00
" Load sensible defaults
runtime! vimrc_example.vim
" Enable line numbers
set number
" Ignore search pattern case unless it contains uppercase letters
set ignorecase
set smartcase
" Avoid cluttering $PWD with temporary files
set backupdir^=~/tmp/vim//
set directory^=~/tmp/vim//
set undodir^=~/tmp/vim//
" Indentation without hard tabs
set expandtab
set shiftwidth=2
set softtabstop=2