-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugins.vim
117 lines (83 loc) · 2.34 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
if has('nvim')
let vimdir = '~/.config/nvim/'
else
let vimdir = '~/.vim/'
endif
let was_installed = 1
if !filereadable(expand(vimdir . "autoload/plug.vim"))
call system('curl -fLo ' . vimdir . 'autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim')
execute 'source ' . vimdir . 'autoload/plug.vim'
let was_installed = 0
endif
call plug#begin(vimdir . 'bundle')
" Filetypes/linters
Plug 'w0rp/ale'
Plug 'sheerun/vim-polyglot'
Plug 'vim-ruby/vim-ruby'
Plug 'othree/yajs.vim'
Plug 'othree/es.next.syntax.vim'
" Colorschemes/themes
Plug 'morhetz/gruvbox'
" Git
Plug 'tpope/vim-fugitive'
" EditorConfig
Plug 'editorconfig/editorconfig-vim'
" Show lines changed
Plug 'airblade/vim-gitgutter'
" Display indent steps
Plug 'Yggdroot/indentLine'
" Comment in/out stuff easily
Plug 'tomtom/tcomment_vim'
" Unix stuff, including editing things with sudo
Plug 'tpope/vim-eunuch'
" Add end to ruby blocks automatically
Plug 'tpope/vim-endwise'
" Easily change delimiters
Plug 'tpope/vim-surround'
" Heuristically adjust shiftwidth and expandtab
Plug 'tpope/vim-sleuth'
" Keep layout when deleting/wiping buffers
Plug 'qpkorr/vim-bufkill'
" Highlight colors
Plug 'ap/vim-css-color'
" Automatically change dir when opening files
Plug 'airblade/vim-rooter'
" HTTP client
Plug 'diepm/vim-rest-console'
" Highlight all matches when incsearching
Plug 'haya14busa/incsearch.vim'
Plug 'haya14busa/incsearch-fuzzy.vim'
Plug 'haya14busa/vim-asterisk'
" Table mode
Plug 'dhruvasagar/vim-table-mode'
" SQL from within VIM
Plug 'tpope/vim-dadbod'
" Autocompletion
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
" Text object for function arguments
Plug 'b4winckler/vim-angry'
" Many handy text objects
Plug 'wellle/targets.vim'
" Easy swap of text objects
Plug 'tommcdo/vim-exchange'
" Make . work with surround (and other plugins)
Plug 'tpope/vim-repeat'
" Readline key bindings.
Plug 'tpope/vim-rsi'
" Useful toggling mappings
Plug 'tpope/vim-unimpaired'
" Auto close pairs
Plug 'jiangmiao/auto-pairs'
" Multiple cursors
Plug 'terryma/vim-multiple-cursors'
if !has('nvim')
" Change background of inactive windows
Plug 'blueyed/vim-diminactive'
endif
" Ruby blocks text object
Plug 'kana/vim-textobj-user'
Plug 'nelstrom/vim-textobj-rubyblock'
call plug#end()
if !was_installed
PlugInstall
endif