How do I regenerate help tags for every installed plugin in one command?
Answer
:helptags ALL
Explanation
Plugin help can break after manual installs, local plugin development, or branch switches that add/remove docs. When tags are stale, :help jumps fail even though the help files are present. :helptags ALL rebuilds tag indexes across every help directory in your runtime path so plugin docs become searchable again immediately.
How it works
:helptags ALL
:helptagsscans a doc directory and generates itstagsfileALLtells Vim to process all valid help doc directories in the current runtime path- Existing tags are replaced with fresh indexes, including newly added topics
Example
Before:
:help myplugin-feature
E149: Sorry, no help for myplugin-feature
After running :helptags ALL:
:help myplugin-feature
"myplugin-feature" help opens correctly
Tips
- Run this after adding plugins manually under
pack/*/startorpack/*/opt - If you only changed one plugin, target just that plugin's
doc/directory with:helptags {dir} - This command is safe to re-run whenever help navigation feels out of date