Skip to content

Instantly share code, notes, and snippets.

@axfcampos
Created April 14, 2014 14:42
Show Gist options
  • Save axfcampos/10654390 to your computer and use it in GitHub Desktop.
Save axfcampos/10654390 to your computer and use it in GitHub Desktop.
My .vimrc, makes use of pathogen.
set nocompatible " be iMproved, required
filetype off " required
execute pathogen#infect()
filetype plugin indent on " required
imap <C-c> <CR><Esc>O
let g:syntastic_check_on_open=1
" These are the tweaks I apply to YCM's config, you don't need them but they
" might help.
" " YCM gives you popups and splits by default that some people might not
" like, so these should tidy it up a bit for you.
let g:ycm_add_preview_to_completeopt=0
let g:ycm_confirm_extra_conf=0
set completeopt-=preview
" my configs
set t_Co=256
syntax on
set background=dark
colorscheme distinguished
set number
set expandtab
set shiftwidth=2
set softtabstop=2
set backspace=indent,eol,start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment