-
Notifications
You must be signed in to change notification settings - Fork 1
/
vim-plug.vim
142 lines (116 loc) · 3.24 KB
/
vim-plug.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
set nocompatible " be iMproved
filetype off " required!
" documentation here --
" https://github.com/junegunn/vim-plug/
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
" Colors
Plug 'godlygeek/csapprox'
" Git and related
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'gregsexton/gitv'
Plug 'rhysd/git-messenger.vim'
Plug 'airblade/vim-gitgutter'
" Buffer/file browsing
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
Plug 'junegunn/fzf.vim'
Plug 'dhruvasagar/vim-vinegar'
Plug 'scrooloose/nerdtree'
Plug 'duff/vim-bufonly'
Plug 'qpkorr/vim-bufkill'
" Language pack bundles
Plug 'sheerun/vim-polyglot'
Plug 'mattn/emmet-vim'
Plug 'elixir-lang/vim-elixir'
Plug 'jshafton/vim-node'
Plug 'robbles/logstash.vim'
Plug 'Glench/Vim-Jinja2-Syntax'
Plug 'gabrielelana/vim-markdown'
Plug 'b4b4r07/vim-hcl'
" UI enhancements
Plug 'nathanaelkane/vim-indent-guides'
Plug 'miyakogi/conoline.vim'
Plug 'szw/vim-maximizer'
" General text editing, delimiter pairing
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-repeat'
Plug 'jiangmiao/auto-pairs'
Plug 'junegunn/vim-easy-align'
Plug 'vim-scripts/transpose-words'
Plug 'vim-scripts/ReplaceWithRegister'
Plug 'tommcdo/vim-exchange'
Plug 'sk1418/Join'
Plug 'junegunn/rainbow_parentheses.vim'
" Better matching with %
Plug 'andymass/vim-matchup'
" Commenting, auto-completion, general syntax
Plug 'vim-scripts/tComment'
Plug 'w0rp/ale'
" Mark-down
Plug 'timcharper/textile.vim'
" General ruby
Plug 'tpope/vim-bundler'
Plug 'tpope/vim-rbenv'
Plug 'ngmy/vim-rubocop'
" Web development
Plug 'tpope/vim-rails'
Plug 'cakebaker/scss-syntax.vim'
Plug 'Valloric/MatchTagAlways'
" Quick intra-buffer navigation
Plug 'Lokaltog/vim-easymotion'
Plug 'haya14busa/vim-easyoperator-phrase'
Plug 'haya14busa/vim-easyoperator-line'
" Text selection
Plug 'kana/vim-textobj-user'
" ar, ir
Plug 'nelstrom/vim-textobj-rubyblock'
" aa, ia
Plug 'vim-scripts/argtextobj.vim'
" ae, ie
Plug 'kana/vim-textobj-entire'
" a/, i/, a?, i?
Plug 'kana/vim-textobj-lastpat'
" al, il
Plug 'kana/vim-textobj-line'
" ai, ii, aI, iI
Plug 'kana/vim-textobj-indent'
" a_, i_
Plug 'lucapette/vim-textobj-underscore'
" looser searching for text objects
Plug 'paradigm/TextObjectify'
" Movement through camel case and snake case words
Plug 'bkad/CamelCaseMotion'
" Code searching
Plug 'vim-scripts/AutoTag'
Plug 'tpope/vim-abolish'
Plug 'osyo-manga/vim-over'
" SQL
Plug 'exu/pgsql.vim'
" DevOps
Plug 'pearofducks/ansible-vim'
Plug 'stephpy/vim-yaml'
Plug 'zimbatm/haproxy.vim'
" Misc junk
Plug 'ciaranm/securemodelines'
" Random shell helper commands
Plug 'tpope/vim-eunuch'
" Session management
Plug 'tpope/vim-obsession'
" Vim window management
Plug 'milkypostman/vim-togglelist'
Plug 'christoomey/vim-tmux-navigator'
call plug#end()
let s:pluggedTracker = resolve(expand("~/.vim-plug-first-run"))
if !filereadable(s:pluggedTracker)
echo "Installing Plugins for first time, please ignore key map error messages"
echo ""
:PlugInstall
:call system('touch ' . s:pluggedTracker)
endif