confpub/vimrc
2024-06-19 12:58:20 +02:00

20 lines
389 B
VimL

" 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