For questions about vimscript variables, their scopes, and usages.
Brief intro
Vimscript has variables (:h variables
) and scopes (:h internal-variables
) for use when programming vim. Most of their usage is via statements like let
or execute
.
See :help eval
for more information.
Use this tag if...
- you have questions about using variables
- you have questions about scope rules
Do not use this tag if...
- you have questions about programming languages other than vimscript (if you have questions about using a programming interface, like python, use e.g. vimscript-python)
- you have questions about other definitions of the world variable (such as susceptible to variation)