Skip to content

Instantly share code, notes, and snippets.

@crashdump
Created November 26, 2013 10:05
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 crashdump/7656028 to your computer and use it in GitHub Desktop.
Save crashdump/7656028 to your computer and use it in GitHub Desktop.
vimrc /w vundle
" Install me
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
" wget -O ~/.vimrc https://raw.github.com/crashdump/tasty-debian/master/files/vim/vimrc
" vim +BundleInstall +qall
set nocompatible
filetype off
syntax on
augroup vimrc_autocmds
autocmd BufEnter * highlight OverLength ctermbg=darkgrey guibg=#111111
autocmd BufEnter * match OverLength /\%80v.*/
augroup END
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" My Bundles here:
"
" original repos on github
Bundle 'Lokaltog/vim-powerline'
Bundle 'scrooloose/syntastic'
Bundle 'vim-scripts/SearchComplete'
Bundle 'majutsushi/tagbar'
Bundle 'sjl/gundo.vim.git'
Bundle 'mutewinter/nginx.vim'
Bundle 'godlygeek/tabular'
Bundle 'vim-scripts/wombat256.vim'
" vim-scripts repos
"Bundle 'L9'
"Bundle 'FuzzyFinder'
" non github repos
"Bundle 'git://git.wincent.com/command-t.git'
" ...
filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" Bundles configs
" Powerline
set laststatus=2
set encoding=utf-8
set fillchars+=stl:\ ,stlnc:\
" wombat256
"if filereadable("~/.vim/bundle/wombat256.vim/colors/wombat256mod.vim")
colorscheme wombat256mod
"endif
" nginx
au BufRead,BufNewFile /etc/nginx/*,/usr/local/nginx/conf/* if &ft == '' | setfiletype nginx | endif
" syntastic
let g:syntastic_enable_signs=1
let g:syntastic_auto_jump=1
let g:syntastic_stl_format='[%E{Err: %fe #%e}%B{, }%W{Warn: %fw #%w}]'
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
" tabular
let g:tabular_loaded=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment