Skip to content

Instantly share code, notes, and snippets.

@mayuroks
Last active May 30, 2016 04:02
Show Gist options
  • Save mayuroks/9369486 to your computer and use it in GitHub Desktop.
Save mayuroks/9369486 to your computer and use it in GitHub Desktop.
vimrc
set t_Co=256
set pastetoggle=<F8>
colorscheme wombat256mod
set hlsearch
set tabstop=4
set softtabstop=4
set shiftwidth=4
let g:indent_guides_auto_colors=0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=3
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4
let g:indent_guides_start_level=2
let g:indent_guides_guide_size = 1
autocmd Filetype ruby,eruby setlocal ts=2 sts=2 sw=2 expandtab si ai et
autocmd Filetype coffee setlocal ts=2 sts=2 sw=2 expandtab si ai
autocmd Filetype html,xml setlocal ts=2 sts=2 sw=2 expandtab si ai
autocmd Filetype python setlocal ts=4 sts=4 sw=4 expandtab si ai et
autocmd FileType ruby,eruby let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1
autocmd FileType ruby,eruby let g:rubycomplete_classes_in_global = 1
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1
autocmd FileType ruby,eruby let delimitMate_matchpairs = '(:),{:},[:]'
set smartindent
" Vundle setup "
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
" PLACE ADDONS HERE "
Bundle 'tpope/vim-rails'
Bundle 'vim-ruby/vim-ruby'
Bundle 'Raimondi/delimitMate'
Bundle 'bash-support.vim'
Bundle 'bling/vim-airline'
Bundle 'scrooloose/syntastic'
Bundle 'SuperTab'
Bundle 'tpope/vim-fugitive'
Bundle 'airblade/vim-gitgutter'
Bundle 'scrooloose/nerdtree'
Bundle 'kien/ctrlp.vim'
Bundle 'rodjek/vim-puppet'
Bundle 'honza/vim-snippets'
Bundle 'vim-coffee-script'
Bundle 'davidhalter/jedi-vim'
Bundle 'Indent-Guides'
syntax on
filetype plugin indent on
let delimitMate_apostrophes = ''
let delimitMate_autoclose = 1
let delimitMate_balance_matchpairs = 0
let delimitMate_eol_marker = ''
let delimitMate_excluded_ft = ''
let delimitMate_excluded_regions = 'Comment'
let delimitMate_expand_cr = 0
let delimitMate_expand_space = 0
let delimitMate_jump_expansion = 0
let delimitMate_matchpairs = '(:),{:},[:]'
let delimitMate_nesting_quotes = []
let delimitMate_quotes = '" '' `'
let delimitMate_smart_matchpairs = '^\%(\w\|\!\|£\|\$\|_\|["'']\s*\S\)'
let delimitMate_smart_quotes = 1
" Airline Status line settings "
set laststatus=2
set fillchars+=stl:\ ,stlnc:\
set encoding=utf-8
let g:airline_powerline_fonts = 1
let g:airline_symbols = {}
let g:airline_left_sep = ''
let g:airline_right_sep = ''
let g:airline_symbols.branch = ''
let g:gitgutter_eager = 1
let g:gitgutter_realtime = 1
let g:gitgutter_sign_added = 'xx'
let g:gitgutter_sign_modified = 'yy'
let g:gitgutter_sign_removed = 'zz'
let g:gitgutter_sign_modified_removed = 'ww'
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#left_sep = ''
let g:airline#extensions#tabline#left_alt_sep = ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment