Skip to content

Instantly share code, notes, and snippets.

@PeterRincker
Created February 3, 2022 16:25
Show Gist options
  • Save PeterRincker/d2f075da299f426d2e0163492beeb267 to your computer and use it in GitHub Desktop.
Save PeterRincker/d2f075da299f426d2e0163492beeb267 to your computer and use it in GitHub Desktop.
" Build helptags for all packages even optional ones
command! -nargs=0 -bar Helptags for p in glob('~/.vim/pack/*/opt/*', 1, 1) | exe 'packadd '.fnamemodify(p, ':t') | endfor | silent! helptags ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment