Show names of all sourced Vim scripts
Example
Normal 0 / 2Command-line 1 / 2Normal 2 / 2Show names of all sourced Vim scripts.
Sourced scripts
- 1
/demo/vimrc- 2
/demo/plugin/colors.vim
Vim messages
Empty
Command entered · ready to apply
Sourced scripts
- 1
/demo/vimrc- 2
/demo/plugin/colors.vim
Vim messages
Empty
Lists the sourced scripts in first-encounter order with their script IDs; no script is re-executed.
Sourced scripts
- 1
/demo/vimrc- 2
/demo/plugin/colors.vim
Vim messages
1: /demo/vimrc 2: /demo/plugin/colors.vim
Before & after
Before
Sourced scripts
- 1
/demo/vimrc- 2
/demo/plugin/colors.vim
Vim messages
Empty
After
Sourced scripts
- 1
/demo/vimrc- 2
/demo/plugin/colors.vim
Vim messages
1: /demo/vimrc 2: /demo/plugin/colors.vim
Subject: :scriptnames. Documentation-backed illustration; assumes +eval and exactly the two displayed scripts sourced in that order; ordinary interactive English cmdheight=4 with at least 80 columns, no scrolled or pending messages, prompts or queued input; not replay-verified. Lists the sourced scripts in first-encounter order with their script IDs; no script is re-executed.
notes
Cursor on line 1, column 1Details & Vim help
Show names of all sourced Vim scripts. 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 :scr[iptnames] 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.