Skip to content

Instantly share code, notes, and snippets.

@tralamazza
Created October 1, 2012 18:21
Show Gist options
  • Select an option

  • Save tralamazza/3813491 to your computer and use it in GitHub Desktop.

Select an option

Save tralamazza/3813491 to your computer and use it in GitHub Desktop.
vim config
set nocompatible " be iMproved
filetype off " required!
set encoding=utf-8
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle'
" Bundles
Bundle 'FuzzyFinder'
Bundle 'L9'
Bundle 'Lokaltog/vim-powerline'
Bundle 'Raimondi/delimitMate'
Bundle 'altercation/vim-colors-solarized'
Bundle 'briancollins/vim-jst'
Bundle 'digitaltoad/vim-jade'
Bundle 'ervandew/screen'
Bundle 'groenewege/vim-less'
Bundle 'jcfaria/Vim-R-plugin'
Bundle 'jistr/vim-nerdtree-tabs'
Bundle 'kchmck/vim-coffee-script'
Bundle 'kien/ctrlp.vim'
Bundle 'majutsushi/tagbar'
Bundle 'mattn/gist-vim'
Bundle 'mattn/webapi-vim'
Bundle 'mattn/zencoding-vim'
Bundle 'mikelue/vim-maven-plugin'
Bundle 'nono/vim-handlebars'
Bundle 'pangloss/vim-javascript'
Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/syntastic'
Bundle 'sjl/gundo.vim'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-markdown'
Bundle 'tpope/vim-repeat'
Bundle 'tpope/vim-surround'
filetype plugin indent on " required!
set undodir=~/.vim/undodir
set undofile
set undolevels=1000 "maximum number of changes that can be undone
set undoreload=10000 "maximum number lines to save for undo on a buffer reload"
" Gundo
let g:gundo_right = 1
" patch vim-jst to recognize .ejs
au BufNewFile,BufRead *.ejs set filetype=jst
" syntastic
let g:syntastic_check_on_open=1
let g:syntastic_enable_signs=1
" remaps
nnoremap <F5> :GundoToggle<CR>
nmap <F8> :TagbarToggle<CR>
" vim-powerline
set laststatus=2
let g:Powerline_symbols = 'fancy'
" open NERDTree
let g:nerdtree_tabs_open_on_console_startup = 1
" don't annoy me
set noerrorbells
" mouses... mouses everywhere
set mouse=a
" line & column rulers
set cursorline
set cursorcolumn
set colorcolumn=80
set nowrap
" display trailing ws
set list listchars=tab:\ \ ,trail:·
set wildmenu
" vim looks
set showcmd
set showmatch
set showmode
set number
set ruler
" search
set ignorecase
set smartcase
set hlsearch
set incsearch
" tabs & spaces
set expandtab
set shiftwidth=2
set softtabstop=2
set tabstop=4
set smarttab
" colors
set t_Co=256
set bg=dark
let g:solarized_termcolors=256
colorscheme solarized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment