X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=plugins-local.vim.example;h=c26074c757d04db74b64747b1fcb1f6df3c8db66;hb=2b367b7df11b42e247d7bf1bff6a776af368c652;hp=05a6bc0a3111d127ff57dee50a5b114d65ff994b;hpb=0b8d10cf3795f7ce103de2165e3aae15c0f52ec7;p=vimconf.git diff --git a/plugins-local.vim.example b/plugins-local.vim.example index 05a6bc0..c26074c 100644 --- a/plugins-local.vim.example +++ b/plugins-local.vim.example @@ -1,7 +1,32 @@ Plug 'jamessan/vim-gnupg' -" An alternative to youcompleteme (ycm) -"Plug 'justmao945/vim-clang' -Plug 'shuber2/vim-clang', { 'branch': 'multipy' } - "Plug 'kien/tabman.vim' + +"Plug 'chikamichi/mediawiki.vim' + +function PluginsLocalConfig() + let g:ConqueTerm_StartMessages = 0 + + " Reduce load on memory by updating one plugin at a time + "let g:plug_threads = 1 + + " Configuration for youcompleteme, if not using vim-clang. + "let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' + "let g:ycm_confirm_extra_conf = 0 + "let g:ycm_min_num_of_chars_for_completion = 2 + "let g:ycm_collect_identifiers_from_tags_files = 1 + "let g:ycm_autoclose_preview_window_after_completion = 1 + "let g:ycm_key_list_select_completion = [''] + "nnoremap jd :YcmCompleter GoToDefinitionElseDeclaration + "let g:ycm_filetype_whitelist = { 'c' : 1, 'cpp' : 1, 'cs' : 1, 'objc' : 1, 'java' : 1, 'python' : 1 } + + " Some terminals, like konsole, cause weired symbols (e.g., q) printed due to + " broken cursor-shape termcodes. + if has('nvim') + set guicursor= + " Workaround some broken plugins which set guicursor indiscriminately. + au OptionSet guicursor noautocmd set guicursor= + end +endfunction + +" vim:ft=vim