-
Notifications
You must be signed in to change notification settings - Fork 4
/
.vimrc
143 lines (117 loc) · 3.78 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
" vimrc split-up into sections
" see `runtime` list at the bottom
set encoding=utf8
" load the bundler
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" Loaders
NeoBundle 'xolox/vim-session'
NeoBundle 'xolox/vim-misc'
" IDE
" also note that some IDE affordance provided by ctags-gem-rbenv integration
"" Search / Indexing
NeoBundle 'Shougo/unite.vim'
NeoBundle 'tsukkee/unite-tag'
NeoBundle 'majutsushi/tagbar'
"NeoBundle 'Shougo/unite-outline'
"" Async
NeoBundle 'Shougo/vimproc.vim', {
\ 'build' : {
\ 'windows' : 'tools\\update-dll-mingw',
\ 'cygwin' : 'make -f make_cygwin.mak',
\ 'mac' : 'make -f make_mac.mak',
\ 'linux' : 'make',
\ 'unix' : 'gmake',
\ },
\ }
"" Text & Completions
NeoBundle 'ervandew/supertab'
NeoBundle 'kshenoy/vim-signature'
NeoBundle 'bkad/CamelCaseMotion'
NeoBundle 'osyo-manga/vim-over'
NeoBundle 'Shougo/neocomplcache'
NeoBundle 'Shougo/neosnippet'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'glippi/lognroll-vim'
"NeoBundle 'salsifis/vim-transpose'
NeoBundle 'vim-scripts/swapcol.vim'
"" Frameworks
NeoBundle 'tpope/vim-rails'
NeoBundle 'tpope/vim-bundler'
NeoBundle 'tpope/vim-rake'
NeoBundle 'tpope/vim-projectionist'
NeoBundle 'tpope/vim-cucumber'
NeoBundle 'KabbAmine/vCoolor.vim'
"" File System
NeoBundle 'mileszs/ack.vim'
NeoBundle 'justinmk/vim-gtfo'
NeoBundle 'chrisbra/Recover.vim'
"NeoBundle 'mohitleo9/vim-fidget',{
"\ 'build' : {
"\ 'unix' : 'sudo npm install -g',
"\ 'mac' : 'sudo npm install -g',
"\ },
"\}
NeoBundle 'gioele/vim-autoswap'
" Layout
NeoBundle 'scrooloose/nerdtree'
NeoBundle 'jistr/vim-nerdtree-tabs'
NeoBundle 'dsimidzija/vim-nerdtree-ignore'
NeoBundle 'jeetsukumaran/vim-buffergator'
NeoBundle 'bling/vim-airline'
NeoBundle 'nathanaelkane/vim-indent-guides'
"" Windowing Systems
NeoBundle 'q335r49/microviche'
NeoBundle 'mhinz/vim-startify'
NeoBundle 'mtth/scratch.vim'
NeoBundle 'christoomey/vim-tmux-navigator'
NeoBundle 'wellle/visual-split.vim'
" VCS
NeoBundle 'tpope/vim-fugitive'
"NeoBundle 'chrisbra/changesPlugin'
NeoBundle 'NewAlexandria/svnblame.vim'
NeoBundle 'Xuyuanp/nerdtree-git-plugin'
" Formatting
NeoBundle 'scrooloose/nerdcommenter'
NeoBundle 'tpope/vim-surround'
NeoBundle 'p0deje/vim-ruby-interpolation'
NeoBundle 'godlygeek/tabular'
NeoBundle 'jezcope/vim-align'
" Syntax Colors
NeoBundle 'altercation/vim-colors-solarized'
NeoBundle 'kien/rainbow_parentheses.vim'
NeoBundle 'tpope/vim-haml'
NeoBundle 'tpope/vim-markdown'
NeoBundle 'pangloss/vim-javascript'
NeoBundle 'othree/javascript-libraries-syntax.vim'
NeoBundle 'cakebaker/scss-syntax.vim'
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
let mapleader = '\'
let g:init_with_blended_relative_absolute_number_line = 1
" if exists('g:loaded_neobundle')
if neobundle#tap('neobundle.vim')
" put the cursor on any file name and press `gf` to open
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/'.'.vim/plugin/file_types.rc.vim'
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/'.'.vim/plugin/ide.rc.vim'
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/'.'.vim/plugin/movements.rc.vim'
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/'.'.vim/plugin/syntax.rc.vim'
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/'.'.vim/plugin/text_formatting.rc.vim'
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/'.'.vim/plugin/windowing.rc.vim'
endif