Skip to content

Instantly share code, notes, and snippets.

@yonggu
Created June 6, 2013 08:14
Show Gist options
  • Save yonggu/5720060 to your computer and use it in GitHub Desktop.
Save yonggu/5720060 to your computer and use it in GitHub Desktop.
.vimrc
let g:rubycomplete_rails = 1
" The NERD Tree
nmap <silent> <c-n> :NERDTreeToggle<CR>
" FuzzyFinder
nmap <silent> ff :FufFile<CR>
nmap <silent> fb :FufBuffer<CR>
nmap <silent> fd :FufDir<CR>
nmap <silent> bh :bprevious<CR>
nmap <silent> bl :bnext<CR>
nmap <silent> tl :tabnext<CR>
nmap <silent> th :tabprevious<CR>
nmap <silent> tn :tabnew<CR>
set statusline=[%n]\ %<%.99f\ %h%w%m%r%y%{exists('g:loaded_rbenv')?rbenv#statusline():''}%=%-16(\ %l,%c-%v\ %)%P
set t_Co=256
set number
set nobackup
set nowritebackup
set noswapfile
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
" General
Bundle "mileszs/ack.vim"
Bundle 'matthias-guenther/hammer.vim'
Bundle 'tsaleh/vim-align'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
Bundle 'troydm/easybuffer.vim'
Bundle 'The-NERD-tree'
" jQuery
Bundle "jQuery"
" CSS
Bundle 'wavded/vim-stylus'
" Ruby on Rails
Bundle 'vim-ruby/vim-ruby'
Bundle 'tpope/vim-rails.git'
Bundle 'ecomba/vim-ruby-refactoring'
Bundle 'rails.vim'
" (HT|X)ml tool
Bundle "ragtag.vim"
Bundle 'tpope/vim-haml'
Bundle 'xml.vim'
" Syntax highlight
Bundle "cucumber.zip"
Bundle "Markdown"
" FuzzyFinder
Bundle 'L9'
Bundle 'FuzzyFinder'
" tComment
Bundle 'git://git.wincent.com/command-t.git'
" Git integration
Bundle "git.zip"
Bundle "fugitive.vim"
" Coffeescript
Bundle 'kchmck/vim-coffee-script'
Bundle 'railscasts'
Bundle 'Railscasts-Theme-GUIand256color'
Bundle 'jellybeans.vim'
filetype plugin indent on
set sw=2
set ts=2
" Set default color scheme
colorscheme railscasts
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment