-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathplugins.vim
178 lines (156 loc) · 4.95 KB
/
plugins.vim
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
" plugins.vim
"
" Maintained by Claud D. Park <[email protected]>
" https://www.posquit0.com/
""" Install Plugins {{{
if has('nvim')
call plug#begin('$VIM_HOME/plugged.nvim')
else
call plug#begin('$VIM_HOME/plugged')
endif
"" Helpers
Plug 'mattn/webapi-vim'
Plug 'vim-scripts/sudo.vim'
Plug 'romainl/vim-qf'
Plug 'junegunn/vim-slash'
Plug 'tpope/vim-repeat'
"" Appearance
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'mhinz/vim-startify'
"" Terminal
Plug 'voldikss/vim-floaterm'
"" VCS
Plug 'tpope/vim-git'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'junegunn/gv.vim'
if has('nvim') || has('patch-8.0.902')
Plug 'mhinz/vim-signify'
else
Plug 'mhinz/vim-signify', { 'branch': 'legacy' }
endif
Plug 'rhysd/committia.vim'
Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' }
"" Search
Plug 'ctrlpvim/ctrlp.vim'
Plug 'Yggdroot/LeaderF', { 'do': './install.sh' }
Plug 'junegunn/fzf', { 'do': 'yes \| ./install --all --no-update-rc' }
Plug 'chaoren/vim-wordmotion'
Plug 'Lokaltog/vim-easymotion'
Plug 'kshenoy/vim-signature'
Plug 'vim-scripts/TaskList.vim'
Plug 'majutsushi/tagbar'
Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeTabsToggle'] }
Plug 'Xuyuanp/nerdtree-git-plugin'
" Plug 'jistr/vim-nerdtree-tabs', { 'on': 'NERDTreeTabsToggle' }
"" Editor
Plug 'ntpeters/vim-better-whitespace'
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
Plug 'svermeulen/vim-yoink'
Plug 'wellle/targets.vim'
Plug 'editorconfig/editorconfig-vim'
Plug 'terryma/vim-multiple-cursors'
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-surround'
Plug 'Yggdroot/indentLine'
" Plug 'tweekmonster/local-indent.vim'
Plug 'wellle/context.vim'
" Plug 'whatyouhide/vim-lengthmatters'
Plug 'jeffkreeftmeijer/vim-numbertoggle'
" Plug 'psliwka/vim-smoothie'
"" Programming
Plug 'sheerun/vim-polyglot'
Plug 'dense-analysis/ale'
" Plug 'neomake/neomake', { 'for': [
" \ 'c', 'cpp', 'java', 'python', 'javascript', 'scala', 'sh', 'vim'
" \ ] }
" Plug 'scrooloose/syntastic'
Plug 'tpope/vim-dispatch'
Plug 'janko-m/vim-test'
Plug 'Shougo/echodoc.vim'
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
Plug 'carlitux/deoplete-ternjs', { 'for': ['javascript'] }
Plug 'zchee/deoplete-jedi', { 'for': ['python'] }
if executable('gocode')
Plug 'zchee/deoplete-go', { 'do': 'make', 'for': ['go'] }
endif
" Vim source for Neocomplete/Deoplete
Plug 'Shougo/neco-vim', { 'for': ['vim'] }
" Insert mode completion of words in adjacent tmux panes
Plug 'wellle/tmux-complete.vim'
" Plug 'sourcegraph/javascript-typescript-langserver', { 'do': 'npm install && npm run build' }
" Plug 'neoclide/coc.nvim', {'tag': '*', 'do': 'yarn install'}
if has('nvim')
" Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
endif
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
Plug 'tpope/vim-endwise', {
\ 'for': [
\ 'ruby', 'vim', 'sh', 'zsh', 'matlab', 'snippets'
\ ]
\ }
Plug 'preservim/nerdcommenter'
Plug 'metakirby5/codi.vim'
" Hook into omni completion to handle autocompletion and provide more
function! BuildTern(info)
" info is a dictionary with 3 fields
" - name: name of the plugin
" - status: 'installed', 'updated', or 'unchanged'
" - force: set on PlugInstall! or PlugUpdate!
if a:info.status == 'installed' || a:info.force
!npm install
endif
endfunction
Plug 'marijnh/tern_for_vim', { 'for': ['javascript'], 'do': function('BuildTern') }
Plug 'moll/vim-node'
Plug 'othree/javascript-libraries-syntax.vim'
Plug 'mattn/emmet-vim', {
\ 'for': [
\ 'html', 'haml', 'jinja', 'hbs', 'html.handlebars', 'xml',
\ 'css', 'less', 'sass', 'javascript'
\ ]
\ }
Plug 'junegunn/goyo.vim'
Plug 'junegunn/limelight.vim'
" Plug 'suan/vim-instant-markdown'
"" Integration
Plug 'junegunn/vim-github-dashboard', { 'on': ['GHDashboard', 'GHActivity'] }
Plug 'adelarsq/vim-hackernews'
Plug 'wakatime/vim-wakatime'
"" Themes
Plug 'tomasr/molokai'
Plug 'morhetz/gruvbox'
Plug 'jnurmine/Zenburn'
Plug 'altercation/vim-colors-solarized'
Plug 'junegunn/seoul256.vim'
Plug 'chriskempson/base16-vim'
Plug 'flazz/vim-colorschemes'
call plug#end()
""" }}}
""" Config Plugins {{{
" Configurations for plugins to load into Vim
let plugin_configurations=[
\ 'plugins.helpers.vim',
\ 'plugins.appearance.vim',
\ 'plugins.terminal.vim',
\ 'plugins.vcs.vim',
\ 'plugins.search.vim',
\ 'plugins.editor.vim',
\ 'plugins.programming.vim',
\ 'plugins.integration.vim',
\ 'plugins.themes.vim',
\ ]
for configuration in plugin_configurations
let config_path = join([$VIM_HOME, configuration], '/')
if filereadable(config_path)
execute 'source ' . config_path
endif
endfor
""" }}}