]> git.sthu.org Git - vimconf.git/blob - plugins.vim
init: Some startify config
[vimconf.git] / plugins.vim
1 function! Cond(cond, ...)
2 let opts = get(a:000, 0, {})
3 return a:cond ? opts : extend(opts, { 'on': [], 'for': [] })
4 endfunction
5
6 Plug 'vim-airline/vim-airline'
7 Plug 'gruvbox-community/gruvbox'
8
9 Plug 'benknoble/vim-auto-origami'
10 " Prevent slow foling update, e.g., for vimtex
11 Plug 'Konfekt/FastFold'
12
13 Plug 'scrooloose/nerdcommenter'
14
15 Plug 'joom/latex-unicoder.vim', {'on': '<Plug>Unicoder'}
16
17 Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'}
18 Plug 'ryanoasis/vim-devicons', Cond(g:enable_plugin_devicons)
19
20 Plug 'Konfekt/vim-DetectSpellLang', {'do': 'spell'}
21 Plug 'roryokane/detectindent'
22
23 Plug 'derekwyatt/vim-fswitch', {'for': ['c', 'cpp', 'objc']}
24
25 Plug 'godlygeek/tabular'
26 Plug 'junegunn/vim-easy-align'
27
28 Plug 'thinca/vim-fontzoom'
29
30 Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'}
31
32 Plug 'lambdalisue/vim-manpager', {'on': 'MANPAGER'}
33
34 Plug 'https://gitlab.com/dbeniamine/vim-mail'
35
36 Plug 'dstein64/vim-startuptime'
37
38 " Make . more useful after a plugin map
39 Plug 'tpope/vim-repeat'
40
41 Plug 'flwyd/vim-conjoin'
42
43 if $USER != "root"
44 Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'}
45
46 Plug 'ludovicchabant/vim-gutentags', {'for': ['c', 'cpp', 'objc']}
47 "Plug 'vim-scripts/Conque-GDB', {'for': ['c', 'cpp', 'objc']}
48
49 Plug 'editorconfig/editorconfig-vim'
50 Plug 'embear/vim-localvimrc'
51
52 Plug 'airblade/vim-rooter'
53 Plug 'Xuyuanp/nerdtree-git-plugin', {'on': 'NERDTreeToggle'}
54
55 Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
56 Plug 'lvht/tagbar-markdown', {'for': 'markdown'}
57 Plug 'habamax/vim-asciidoctor', {'for': 'asciidoc'}
58
59 Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'}
60 Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']}
61
62 Plug 'tpope/vim-ragtag'
63
64 Plug 'Shougo/neosnippet.vim'
65 Plug 'Shougo/neosnippet-snippets'
66
67 Plug 'tpope/vim-speeddating'
68 Plug 'mattn/calendar-vim'
69
70 " Costs a second startup time
71 Plug 'dbeniamine/cheat.sh-vim', {'on': 'Cheat'}
72
73 if g:lowendbox == 0
74
75 Plug 'mhinz/vim-startify'
76
77 if has('nvim')
78 Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins'}
79 Plug 'Shougo/denite.nvim', { 'do': ':UpdateRemotePlugins' }
80 else
81 Plug 'Shougo/deoplete.nvim'
82 Plug 'Shougo/denite.nvim'
83
84 Plug 'roxma/nvim-yarp'
85 Plug 'roxma/vim-hug-neovim-rpc'
86 endif
87
88 " java extension to deoplete
89 Plug 'artur-shaik/vim-javacomplete2', {'for': 'java'}
90
91 Plug 'neomake/neomake'
92
93 Plug 'lervag/vimtex', {'for': 'tex'}
94
95 Plug 'mhinz/vim-signify'
96 Plug 'tpope/vim-fugitive'
97 Plug 'gko/vim-coloresque'
98
99 Plug 'vimwiki/vimwiki'
100 Plug 'jceb/vim-orgmode', {'for': ['org']}
101
102 Plug 'cakebaker/scss-syntax.vim', {'for': 'scss'}
103 Plug 'hail2u/vim-css3-syntax', {'for': ['scss', 'css']}
104
105 Plug 'sjl/splice.vim', {'on': 'SpliceInit'}
106
107 if has('nvim-0.5')
108 Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
109 else
110 Plug 'sheerun/vim-polyglot'
111 endif
112 endif
113 endif
114
115 if filereadable($HOME . '/.vim/plugins-local.vim')
116 source ~/.vim/plugins-local.vim
117 endif