.vimrc

changeset 725
6ff8e3f73482
parent 722
3a8965648f93
child 726
f5eebdfe54e4
equal deleted inserted replaced
724:192972fc0dd4 725:6ff8e3f73482
8 let g:on_windows = (has('win32') || has('win64')) 8 let g:on_windows = (has('win32') || has('win64'))
9 let g:myvim = $HOME . (g:on_windows ? '/vimfiles' : '/.vim') 9 let g:myvim = $HOME . (g:on_windows ? '/vimfiles' : '/.vim')
10 let g:vimcache = $HOME . '/.cache/vim' 10 let g:vimcache = $HOME . '/.cache/vim'
11 let s:filename = expand('<sfile>') 11 let s:filename = expand('<sfile>')
12 12
13 " Set up Vundle and plugins {{{ 13 " Set up plug and plugins {{{
14 call vimrc#VundleInstallAndBegin() 14 call plug#begin(g:myvim . '/bundle')
15 15
16 Plugin 'gmarik/vundle' 16 Plug 'vim-airline/vim-airline'
17 17 Plug 'vim-airline/vim-airline-themes'
18 Plugin 'vim-airline/vim-airline' 18 Plug 'vasconcelloslf/vim-interestingwords'
19 Plugin 'vim-airline/vim-airline-themes' 19
20 Plugin 'vasconcelloslf/vim-interestingwords' 20 Plug 'editorconfig/editorconfig-vim'
21 21
22 Plugin 'editorconfig/editorconfig-vim' 22 Plug 'Shougo/vimproc.vim'
23 23 Plug 'Shougo/unite.vim'
24 Plugin 'Shougo/vimproc.vim' 24 Plug 'Shougo/vimfiler.vim'
25 Plugin 'Shougo/unite.vim' 25 Plug 'Shougo/unite-session'
26 Plugin 'Shougo/vimfiler.vim' 26 Plug 'sjl/gundo.vim'
27 Plugin 'Shougo/unite-session' 27 Plug 'majutsushi/tagbar'
28 Plugin 'sjl/gundo.vim' 28 Plug 'rking/ag.vim'
29 Plugin 'majutsushi/tagbar' 29
30 Plugin 'rking/ag.vim' 30 Plug 'godlygeek/tabular'
31 31 Plug 'tomtom/tcomment_vim'
32 Plugin 'godlygeek/tabular' 32 Plug 'tpope/vim-unimpaired'
33 Plugin 'tomtom/tcomment_vim' 33 Plug 'lifepillar/vim-mucomplete'
34 Plugin 'tpope/vim-unimpaired' 34 Plug 'tpope/vim-endwise'
35 Plugin 'lifepillar/vim-mucomplete'
36 Plugin 'tpope/vim-endwise'
37 35
38 if executable('rls') 36 if executable('rls')
39 Plugin 'prabirshrestha/async.vim' 37 Plug 'prabirshrestha/async.vim'
40 Plugin 'prabirshrestha/vim-lsp' 38 Plug 'prabirshrestha/vim-lsp'
41 end 39 end
42 40
43 Plugin 'vimwiki/vimwiki' 41 Plug 'vimwiki/vimwiki'
44 42
45 Plugin 'tpope/vim-fugitive' 43 Plug 'tpope/vim-fugitive'
46 Plugin 'ludovicchabant/vim-lawrencium' 44 Plug 'ludovicchabant/vim-lawrencium'
47 45
48 Plugin 'Shougo/vinarise.vim' 46 Plug 'Shougo/vinarise.vim'
49 Plugin 'asciidoc/vim-asciidoc' 47 Plug 'asciidoc/vim-asciidoc'
50 Plugin 'vim-perl/vim-perl' 48 Plug 'vim-perl/vim-perl'
51 Plugin 'sheerun/vim-polyglot' 49 Plug 'sheerun/vim-polyglot'
52 Plugin 'yko/mojo.vim' 50 Plug 'yko/mojo.vim'
53 Plugin 'slashmili/alchemist.vim' 51 Plug 'slashmili/alchemist.vim'
54 Plugin 'nathangrigg/vim-beancount' 52 Plug 'nathangrigg/vim-beancount'
55 53
56 Plugin 'powerman/vim-plugin-viewdoc' 54 Plug 'powerman/vim-plugin-viewdoc'
57 Plugin 'powerman/vim-plugin-AnsiEsc' 55 Plug 'powerman/vim-plugin-AnsiEsc'
58 56
59 let g:no_viewdoc_maps = 1 57 let g:no_viewdoc_maps = 1
60 let g:no_viewdoc_abbrev = 1 58 let g:no_viewdoc_abbrev = 1
61 59
62 try 60 try
63 execute 'source ' . s:filename . '.local-pre' 61 execute 'source ' . s:filename . '.local-pre'
64 catch 62 catch
65 endtry 63 endtry
66 64
67 call vundle#end() 65 call plug#end()
68 " }}} 66 " }}}
69 67
70 " Key maps {{{ 68 " Key maps {{{
71 nnoremap <silent> <F1> :Unite buffer<CR> 69 nnoremap <silent> <F1> :Unite buffer<CR>
72 nnoremap <silent> <F2> :VimFilerExplorer<CR> 70 nnoremap <silent> <F2> :VimFilerExplorer<CR>
312 let g:perl_compiler_force_warnings = 0 310 let g:perl_compiler_force_warnings = 0
313 let g:perl_tidy_equalprg = executable('perltidy') ? 1 : 0 311 let g:perl_tidy_equalprg = executable('perltidy') ? 1 : 0
314 " }}} 312 " }}}
315 313
316 " Plugin settings {{{ 314 " Plugin settings {{{
315 let g:plug_threads = 3
316
317 ">> vim-polyglot 317 ">> vim-polyglot
318 let g:polyglot_disabled = ['vifm'] 318 let g:polyglot_disabled = ['vifm']
319 319
320 ">> mucomplete 320 ">> mucomplete
321 " enable and prefer local buffer before tags 321 " enable and prefer local buffer before tags

mercurial