29 |
29 |
30 Plug 'godlygeek/tabular' |
30 Plug 'godlygeek/tabular' |
31 Plug 'tomtom/tcomment_vim' |
31 Plug 'tomtom/tcomment_vim' |
32 Plug 'tpope/vim-unimpaired' |
32 Plug 'tpope/vim-unimpaired' |
33 Plug 'lifepillar/vim-mucomplete' |
33 Plug 'lifepillar/vim-mucomplete' |
34 Plug 'tpope/vim-endwise' |
34 " Plug 'tpope/vim-endwise' |
35 Plug 'tmsvg/pear-tree' |
35 Plug 'tmsvg/pear-tree' |
36 |
36 |
37 if executable('rls') |
37 if executable('rls') |
38 Plug 'prabirshrestha/async.vim' |
38 Plug 'prabirshrestha/async.vim' |
39 Plug 'prabirshrestha/vim-lsp' |
39 Plug 'prabirshrestha/vim-lsp' |
291 |
291 |
292 autocmd BufReadPost quickfix nmap <buffer> q <C-w>c |
292 autocmd BufReadPost quickfix nmap <buffer> q <C-w>c |
293 |
293 |
294 " Neomutt changed their tmpfile pattern, ugh |
294 " Neomutt changed their tmpfile pattern, ugh |
295 autocmd BufNewFile,BufRead neomutt-*-\w\+ setf mail |
295 autocmd BufNewFile,BufRead neomutt-*-\w\+ setf mail |
296 |
|
297 " Make these two play nice |
|
298 autocmd BufEnter * |
|
299 \ if exists('g:loaded_pear_tree') && exists('g:loaded_endwise') | |
|
300 \ imap <buffer> <CR> <Plug>(PearTreeExpand)<Plug>DiscretionaryEnd | |
|
301 \ endif |
|
302 augroup END |
296 augroup END |
303 |
297 |
304 " https://mjj.io/2015/01/27/encrypting-files-with-gpg-and-vim/ |
298 " https://mjj.io/2015/01/27/encrypting-files-with-gpg-and-vim/ |
305 " hacked to work with vimwiki |
299 " hacked to work with vimwiki |
306 augroup encrypted |
300 augroup encrypted |