vinix-ports / ports / vim / vimrc
18 lines · 14 sloc · 588 bytes · c33d8afc2906b8dd9a8b905224eccd49a44f7ad5
Raw
1set nocompatible " Use Vim defaults (much better!)
2set bs=2 " Allow backspacing over everything in insert mode
3set ai " Always set auto-indenting on
4set history=50 " keep 50 lines of command history
5set ruler " Show the cursor position all the time
6
7" Don't use Ex mode, use Q for formatting
8map Q gq
9
10" When doing tab completion, give the following files lower priority.
11set suffixes+=.info,.aux,.log,.dvi,.bbl,.out,.o,.lo
12
13set nomodeline
14syntax on
15
16if filereadable("/etc/vim/vimrc.local")
17 source /etc/vim/vimrc.local
18endif
19