Last active
October 13, 2015 23:27
-
-
Save jpiche/4272023 to your computer and use it in GitHub Desktop.
A basic vimrc, perhaps for servers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocp noswapfile | |
| syn on | |
| set ai bs=indent,eol,start et sm is ic scs ruler | |
| set ts=2 sts=2 sw=2 | |
| set guioptions-=T | |
| set mouse= | |
| set number | |
| autocmd FileType php set ts=4 sts=4 sw=4 | |
| filetype plugin indent on | |
| " if text file, turn on spell check | |
| autocmd FileType text set spell | |
| autocmd FileType text set lbr | |
| autocmd FileType tex set spell | |
| autocmd FileType tex set lbr | |
| noremap j gj | |
| noremap k gk | |
| vnoremap j gj | |
| vnoremap k gk | |
| map ; : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment