Created
May 12, 2015 16:06
-
-
Save arnaldog/29d990eb814d44edb489 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'bling/vim-airline' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'rking/ag.vim' | |
Plugin 'othree/html5.vim' | |
Plugin 'elzr/vim-json' | |
Plugin 'stephpy/vim-yaml' | |
Plugin 'wombat256.vim' | |
Plugin 'thoughtbot/vim-rspec' | |
Plugin 'tpope/vim-rvm' | |
Plugin 'tpope/vim-rails' | |
Plugin 'tpope/vim-bundler' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'vim-scripts/taglist.vim' | |
Plugin 'Xuyuanp/nerdtree-git-plugin' | |
Plugin 'edkolev/promptline.vim' | |
Plugin 'tpope/vim-dispatch' | |
Plugin 'mattn/gist-vim' | |
Plugin 'mattn/webapi-vim' | |
Plugin 'edkolev/tmuxline.vim' | |
Plugin 'christoomey/vim-tmux-navigator' | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
" | |
" colorscheme wombat256mod | |
set t_Co=256 | |
set encoding=utf-8 | |
set mouse=a | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set colorcolumn=80 | |
set autoindent | |
set nostartofline | |
set number | |
set ruler | |
set cmdheight=2 | |
set pastetoggle=<F11> | |
set bs=indent,eol,start " Backspace over everything in insert mode | |
set shell=zsh | |
" RSpec.vim mappings | |
map <Leader>t :call RunCurrentSpecFile()<CR> | |
map <Leader>s :call RunNearestSpec()<CR> | |
map <Leader>l :call RunLastSpec()<CR> | |
map <Leader>a :call RunAllSpecs()<CR> | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
autocmd BufEnter * Rvm | |
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif | |
compiler rubyunit | |
let g:promptline_theme = 'airline' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment