Skip to content

Instantly share code, notes, and snippets.

@brettchalupa
Last active December 14, 2015 04:49
Show Gist options
  • Save brettchalupa/5031064 to your computer and use it in GitHub Desktop.
Save brettchalupa/5031064 to your computer and use it in GitHub Desktop.
vim config vimrc
execute pathogen#infect()
syntax enable
set hidden
set t_Co=256 " enable 256 color support
set textwidth=80 " set the textwidth char to wrap at
set ts=2 " set the tab spacing to be 2 chars
set shiftwidth=2 " set the shiftwidth to be 2 chars
set wrapmargin=0
set number " display line numbers
set expandtab
color twilight256 " use the twilight256 theme
imap jj <Esc> " map jj to ESC
" if vim was compiled with support for autocommands then LETS DO THIS
if has("autocmd")
" enable file type detection
filetype on
" here is where specific sets for specific filetypes can live
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment