Load all packages under 'packpath'
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Load all packages under 'packpath'.
Package state
- colors
not loaded- runtimepath
does not include colors- g:accent
unset
Command entered · ready to apply
Package state
- colors
not loaded- runtimepath
does not include colors- g:accent
unset
Adds the start-package directories to runtimepath before sourcing their plugin files; this fixture contains only colors.
Package state
- colors
loaded- runtimepath
includes /demo/packs/pack/demo/start/colors- g:accent
blue
Before & after
Before
Package state
- colors
not loaded- runtimepath
does not include colors- g:accent
unset
After
Package state
- colors
loaded- runtimepath
includes /demo/packs/pack/demo/start/colors- g:accent
blue
Subject: :packloadall. Documentation-backed illustration; assumes +eval, displayed package fixture, loadplugins set; packages have not already been loaded; not replay-verified. Adds the start-package directories to runtimepath before sourcing their plugin files; this fixture contains only colors.
notesCursor on line 1, column 1Details & Vim help
Load all packages under 'packpath'. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :packl[oadall] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.