]> git.sthu.org Git - vimconf.git/blob - plugins-noroot.vim
plugins: Add vim-which-key
[vimconf.git] / plugins-noroot.vim
1 Plug 'majutsushi/tagbar', {'on': 'TagbarToggle'}
2
3 " Conditional loading does not work, see github issue #823
4 Plug 'ludovicchabant/vim-gutentags'
5 "Plug 'vim-scripts/Conque-GDB', {'for': ['c', 'cpp', 'objc']}
6
7 Plug 'editorconfig/editorconfig-vim'
8 Plug 'embear/vim-localvimrc'
9
10 Plug 'airblade/vim-rooter'
11 Plug 'Xuyuanp/nerdtree-git-plugin', {'on': 'NERDTreeToggle'}
12
13 Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
14 Plug 'lvht/tagbar-markdown', {'for': 'markdown'}
15 Plug 'habamax/vim-asciidoctor', {'for': 'asciidoc'}
16
17 Plug 'PProvost/vim-markdown-jekyll', {'for': 'markdown'}
18 Plug 'tpope/vim-liquid', {'for': ['liquid', 'html', 'xml', 'markdown']}
19
20 Plug 'tpope/vim-ragtag'
21
22 Plug 'Shougo/neosnippet.vim'
23 Plug 'Shougo/neosnippet-snippets'
24
25 Plug 'tpope/vim-speeddating'
26 Plug 'mattn/calendar-vim'
27
28 Plug 'vim-scripts/loremipsum', {'on': 'Loremipsum'}
29
30
31 function PluginsNorootConfig()
32 let g:localvimrc_persistent = 1
33
34 let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
35
36 "augroup pencil
37 "au!
38 "au FileType markdown,mkd call pencil#init()
39 "au FileType text call pencil#init()
40 "au FileType mail call pencil#init()
41 "au FileType tex call pencil#init()
42 "augroup END
43
44 let g:vim_markdown_frontmatter=1
45 let g:vim_markdown_math=1
46
47 au FileType markdown call RagtagInit()
48
49 " Generally disable gutentags, but enable for some filetypes
50 let g:gutentags_enabled = 0
51 au FileType c,cpp,objc,tex let g:gutentags_enabled = 1
52 " Make manually created tags files also root markers
53 let g:gutentags_project_root = ['tags']
54 let g:gutentags_cache_dir = expand('~/.cache/vim/ctags/')
55 " Do not automatically generate on browsing
56 let g:gutentags_generate_on_missing = 0
57 endfunction