Conversation

Jarkko Sakkinen

Edited 4 months ago

I just realized that #vim has these in the distribution:

❯ ls -1 /usr/share/vim/vim91/pack/dist/opt/
cfilter
comment
dvorak
editexisting
editorconfig
justify
matchit
shellmenu
swapmouse
termdebug

Thus, I can shrink my plugin list a bit:

diff --git a/.vimrc b/.vimrc
index a66c03b..383ea80 100644
--- a/.vimrc
+++ b/.vimrc
@@ -35,13 +35,14 @@ nnoremap <silent> <C-l> :nohl<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
 nnoremap <silent> <leader>lcd :lcd %:p:h<CR>:pwd<CR>
 nnoremap <silent> <leader>n :set number!<CR>
 
+packadd! comment
+packadd! editorconfig
+
 if !empty(globpath(&rtp, 'autoload/plug.vim'))
   call plug#begin()
   Plug 'ap/vim-buftabline', { 'as': 'buftabline' }
   Plug 'catppuccin/vim', { 'as': 'catppuccin' }
-  Plug 'editorconfig/editorconfig-vim', { 'as': 'editorconfig' }
   Plug 'kaarmu/typst.vim', { 'as': 'typst' }
-  Plug 'tpope/vim-commentary', { 'as': 'commentary' }
   Plug 'vim-scripts/git_patch_tags.vim', { 'as': 'git_patch_tags' }
   call plug#end()
 endif

Leaving only:

if !empty(globpath(&rtp, 'autoload/plug.vim'))
  call plug#begin()
  Plug 'ap/vim-buftabline', { 'as': 'buftabline' }
  Plug 'catppuccin/vim', { 'as': 'catppuccin' }
  Plug 'kaarmu/typst.vim', { 'as': 'typst' }
  Plug 'vim-scripts/git_patch_tags.vim', { 'as': 'git_patch_tags' }
  call plug#end()
endif

#holiday activities

0
0
4