No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
− | {{review}} |
||
{{Tip |
{{Tip |
||
|id=515 |
|id=515 |
||
Line 9: | Line 8: | ||
|rating=25/13 |
|rating=25/13 |
||
|text= |
|text= |
||
⚫ | |||
⚫ | |||
those loaded implicitly at startup: |
those loaded implicitly at startup: |
||
− | |||
− | |||
:scriptnames |
:scriptnames |
||
− | |||
− | |||
This does not show names of 'would-be scripts' -- that is, |
This does not show names of 'would-be scripts' -- that is, |
||
− | |||
scripts that vim tried to open, did not find and was |
scripts that vim tried to open, did not find and was |
||
− | |||
silent about it. |
silent about it. |
||
− | |||
− | |||
To see the 'would-be' scripts -- that is, scripts that vim |
To see the 'would-be' scripts -- that is, scripts that vim |
||
− | |||
tried to open, did not find and was silent about it -- add |
tried to open, did not find and was silent about it -- add |
||
− | |||
'-V' option when starting vim: |
'-V' option when starting vim: |
||
− | |||
− | |||
vim -V |
vim -V |
||
− | |||
− | |||
Also: |
Also: |
||
vim --version # shows system-dependent location of rc-files |
vim --version # shows system-dependent location of rc-files |
||
⚫ | |||
− | |||
⚫ | |||
⚫ | |||
− | |||
⚫ | |||
[http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:startup}} :help startup] |
[http://vimplugin.sf.net/cgi-bin/help?tag={{urlencode:startup}} :help startup] |
Revision as of 12:41, 5 June 2007
Tip: #515 - List loaded scripts
Created: July 23, 2003 0:19 Complexity: intermediate Author: Yakov Lerner Version: 6.0 Karma: 25/13 Imported from: Tip#515
To see filenames of all scripts that vim loaded, including those loaded implicitly at startup:
:scriptnames
This does not show names of 'would-be scripts' -- that is, scripts that vim tried to open, did not find and was silent about it.
To see the 'would-be' scripts -- that is, scripts that vim tried to open, did not find and was silent about it -- add '-V' option when starting vim:
vim -V
Also:
vim --version # shows system-dependent location of rc-files # but does not show location of system/personal # plugins
:help startup