Created
June 4, 2012 14:53
-
-
Save webpigeon/2868856 to your computer and use it in GitHub Desktop.
VimRC
This file contains 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
" .vimrc | |
" based on https://wiki.archlinux.org/index.php/Vim/.vimrc | |
" Joseph Walton-Rivers <webpigeon@gmail.com> | |
" Tab settings | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set smarttab | |
" Text formatting | |
set textwidth=79 | |
set number " Show line numbers | |
" backup files in ~/vim/backup rather than current directory | |
set backupdir=~/.vim/backup,/tmp | |
" Spelling options | |
autocmd FileType tex setlocal spell spelllang=en_gb | |
" File syntax highlight | |
filetype plugin on | |
syntax on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment