2014-11-11 20:56:27 +00:00
|
|
|
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()
|
|
|
|
|
|
|
|
Plugin 'tpope/vim-fugitive'
|
2014-11-11 21:43:07 +00:00
|
|
|
Plugin 'tpope/vim-commentary'
|
2014-11-11 21:51:41 +00:00
|
|
|
Plugin 'tpope/vim-surround'
|
2014-11-11 20:56:27 +00:00
|
|
|
Plugin 'scrooloose/syntastic'
|
2014-11-11 21:52:13 +00:00
|
|
|
Plugin 'scrooloose/nerdtree'
|
2014-11-11 20:56:27 +00:00
|
|
|
Plugin 'bling/vim-airline'
|
|
|
|
Plugin '29decibel/codeschool-vim-theme'
|
|
|
|
|
|
|
|
" All of your Plugins must be added before the following line
|
|
|
|
call vundle#end() " required
|
|
|
|
filetype plugin indent on " required
|
|
|
|
" To ignore plugin indent changes, instead use:
|
|
|
|
"filetype plugin on
|
|
|
|
|
|
|
|
colorscheme codeschool
|
|
|
|
|
|
|
|
" Airline
|
|
|
|
set laststatus=2
|
|
|
|
|
2014-11-11 21:32:48 +00:00
|
|
|
" Tabs and indents
|
2014-11-11 20:56:27 +00:00
|
|
|
set tabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
set softtabstop=4
|
|
|
|
set smarttab
|
|
|
|
set expandtab
|
2014-11-11 21:24:00 +00:00
|
|
|
|
|
|
|
" Allow mouse usage
|
2014-11-11 20:56:27 +00:00
|
|
|
set mouse=a
|
|
|
|
|
2014-11-11 21:24:00 +00:00
|
|
|
" Always use vertical diffs
|
|
|
|
set diffopt+=vertical
|
|
|
|
|
2014-11-11 21:32:48 +00:00
|
|
|
" Syntax highlighting
|
2014-11-11 20:56:27 +00:00
|
|
|
syntax on
|
2014-11-11 21:32:48 +00:00
|
|
|
|
|
|
|
" NERDTree
|
|
|
|
autocmd StdinReadPre * let s:std_in=1
|
|
|
|
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
|
|
|
map <C-n> :NERDTreeToggle<CR>
|