Skip to content

Instantly share code, notes, and snippets.

@variousred
Created March 4, 2015 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save variousred/99f433430a45e762f158 to your computer and use it in GitHub Desktop.
Save variousred/99f433430a45e762f158 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
execute pathogen#helptags()
syntax on
filetype plugin indent on
set number
set expandtab
set tabstop=2
set shiftwidth=2
set ignorecase
set smartcase
set hlsearch
set clipboard=unnamed
set mouse=a
set backspace=2 " allows backspace to left of insertion point
set autoindent
" this is an example to have command-t ignore certain directories
set wildignore+=tmp/**,node_modules/**
set autoread
"color stuff
colorscheme solarized
set background=dark
let &colorcolumn=join(range(100,999),",")
" indent guides color config v
let g:indent_guides_auto_colors = 0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd ctermbg=93
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven ctermbg=8
"stop the automatic comment insertion following a comment
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
noremap - :Switch<cr>
set wildignore+=tmp
" for vim-gist plugin
let g:gist_open_browser_after_post = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment