Source vim scripts in 'runtimepath'
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Source vim scripts in 'runtimepath'.
Variables
- g:accent
unset
Command entered · ready to apply
Variables
- g:accent
unset
Searches runtimepath for plugin/colors.vim and sources the first match, setting g:accent to blue. :runtime! would source all matches.
Variables
- g:accent
blue
Before & after
Before
Variables
- g:accent
unset
After
Variables
- g:accent
blue
Subject: :runtime. Documentation-backed illustration; assumes +eval and the displayed readable runtimepath fixture; not replay-verified. Searches runtimepath for plugin/colors.vim and sources the first match, setting g:accent to blue. :runtime! would source all matches.
notesCursor on line 1, column 1Details & Vim help
Source vim scripts in 'runtimepath'. 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 :ru[ntime] 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.