This is a minimal configuration file to make vim usable Bindings should really be using vimscript rather than conf: comments start with the ” character, so we cannot tangle them
syntax on
We want to limit the length of git commit lines
autocmd Filetype gitcommit setlocal spell textwidth=72
Return to last edit position when opening files
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
Do not highlight search results
set nohlsearch
set tabstop=4 shiftwidth=4 expandtab shiftround
set autoindent
set number numberwidth=4
set showmatch matchtime=2