-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbundles.vim
executable file
·87 lines (82 loc) · 2.4 KB
/
bundles.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
" Required:
if has('vim_starting')
set nocompatible
set sessionoptions-=options
endif
" PLUGINS BUNDLE
if has('nvim') && empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
elseif 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
" Plug Groups
" List only the plugin groups you will use
if !exists('g:bundle_groups')
let g:bundle_groups=['general', 'devel', 'languages', 'colorscheme']
endif
" Plugs here:
" GENERAL
call plug#begin(expand($HOME.'/.vim/bundle'))
if count(g:bundle_groups, 'general')
if executable('ack')
Plug 'mileszs/ack.vim'
endif
Plug 'Konfekt/FastFold'
Plug 'Stormherz/tablify'
Plug 'chrisbra/vim-diff-enhanced'
Plug 'editorconfig/editorconfig-vim'
Plug 'itchyny/calendar.vim'
Plug 'itchyny/vim-cursorword'
Plug 'mbbill/undotree'
Plug 'mhinz/vim-startify'
Plug 'terryma/vim-multiple-cursors'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'yuttie/comfortable-motion.vim'
if has('nvim')
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
Plug 'ggandor/lightspeed.nvim'
else
Plug 'ctrlpvim/ctrlp.vim'
Plug 'tacahiroy/ctrlp-funky'
Plug 'easymotion/vim-easymotion'
endif
endif
" DEVELOPER
if count(g:bundle_groups, 'devel')
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'osyo-manga/vim-over'
Plug 'mattn/emmet-vim'
Plug 'Yggdroot/indentLine'
Plug 'godlygeek/tabular'
Plug 'airblade/vim-gitgutter'
Plug 'dense-analysis/ale'
if has('nvim')
Plug 'numToStr/Comment.nvim'
Plug 'windwp/nvim-autopairs'
else
Plug 'scrooloose/nerdcommenter'
Plug 'jiangmiao/auto-pairs'
endif
endif
" LANGUAGES
if count(g:bundle_groups, 'languages')
Plug 'ap/vim-css-color'
Plug 'sheerun/vim-polyglot'
endif
" COLORSCHEME
if count(g:bundle_groups, 'colorscheme')
Plug 'jacoborus/tender.vim'
Plug 'morhetz/gruvbox'
Plug 'sjl/badwolf'
endif
call plug#end()
if has('nvim')
lua require('Comment').setup()
endif