-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
85 lines (68 loc) · 1.84 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
call pathogen#infect()
call pathogen#helptags()
runtime! plugin/sensible.vim
" Use :help 'option' to see the documentation for the given option.
set nocompatible
set nobackup
set noswapfile
set noerrorbells
set visualbell
set t_vb=
set modelines=1
set shortmess=aIoO
set splitbelow
set splitright
set number
set nuw=6
set statusline=%F%m%r%h%w\ (%{&ff}){%Y}\ [%l,%v][%p%%]
set matchpairs+=<:>
set t_Co=256
set title
syntax enable
let g:gruvbox_italic=0
colorscheme gruvbox
set background=dark
set nospell
set hlsearch
set ignorecase
set smartcase
set textwidth=80
set formatoptions-=t
set formatoptions+=rn
set tabstop=2
set shiftwidth=4
set expandtab
set smartindent
nmap <C-E> :NERDTreeToggle<CR>
imap <C-E> <C-O><C-E>
let NERDTreeWinSize=40
let NERDTreeMinimalUI=1
let NERDTreeIgnore=['build-.*', 'stage-.*']
set nowrap
set cursorline " highlight current line
set scrolloff=2 " minimum lines above/below cursor
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-rails'
" Color Scheme gruvbox
Plugin 'morhetz/gruvbox'
"nathanaelkane/vim-indent-guides
Plugin 'nathanaelkane/vim-indent-guides'
"railcast2 theme
Plugin 'jpo/vim-railscasts-theme'
" Airline (bottom bar)
Plugin 'bling/vim-airline'
" Git support
Plugin 'mhinz/vim-signify'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required