confpub/vimrc

20 lines
389 B
VimL
Raw Permalink Normal View History

2024-06-19 10:58:20 +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