]> git.sthu.org Git - vimconf.git/blob - plugins-noroot.vim
plugins: Adding leap
[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 Plug 'ggandor/leap.nvim'
31
32
33 function PluginsNorootConfig()
34 let g:localvimrc_persistent = 1
35
36 let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
37
38 "augroup pencil
39 "au!
40 "au FileType markdown,mkd call pencil#init()
41 "au FileType text call pencil#init()
42 "au FileType mail call pencil#init()
43 "au FileType tex call pencil#init()
44 "augroup END
45
46 let g:vim_markdown_frontmatter=1
47 let g:vim_markdown_math=1
48
49 au FileType markdown call RagtagInit()
50
51 " Generally disable gutentags, but enable for some filetypes
52 let g:gutentags_enabled = 0
53 au FileType c,cpp,objc,tex let g:gutentags_enabled = 1
54 " Make manually created tags files also root markers
55 let g:gutentags_project_root = ['tags']
56 let g:gutentags_cache_dir = expand('~/.cache/vim/ctags/')
57 " Do not automatically generate on browsing
58 let g:gutentags_generate_on_missing = 0
59 let g:gutentags_ctags_exclude_wildignore = 1
60 let g:gutentags_ctags_exclude = [
61 \'node_modules', '_build', 'build*', 'CMakeFiles', '.*cache*', 'venv',
62 \'*.md', '*.css', '*.html', '*.json', '*.xml', '*.xmls', '*.ui']
63
64 " Allow for reflow of bullet paragraphs
65 let g:vim_markdown_auto_insert_bullets = 0
66
67 lua <<EOF
68 require('leap').set_default_keymaps()
69 EOF
70 endfunction