Skip to content

Instantly share code, notes, and snippets.

@sadbox
Created March 2, 2014 17:12
Show Gist options
  • Save sadbox/9309811 to your computer and use it in GitHub Desktop.
Save sadbox/9309811 to your computer and use it in GitHub Desktop.
" James McGuire's .vimrc
set nocompatible
" Make backspace behave in a sane manner.
set backspace=indent,eol,start
" set the colorscheme to something sane
set t_Co=256
colorscheme ron
" sets backups/swap files to a central location
set backup
set backupdir=~/.vim/backup
set directory=~/.vim/tmp
" tabs -> 4x spaces
set expandtab
set tabstop=4
set shiftwidth=4
" Switch syntax highlighting on
syntax on
" Enable syntax highlighting/etc based on filetype
filetype plugin indent on
" Add line numbers and give them a dark background
set number
" Add a dark gray background to the line numbers
highlight LineNr ctermbg=235
" add line numbers/position
" set number
set ruler
" EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment