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