Tip #9: Displaying a variable/macro definition
tip karma |
Rating 21/14, Viewed by 1859
|
created: |
|
February 24, 2001 18:00 |
|
complexity: |
|
basic |
author: |
|
Yegappan |
|
as of Vim: |
|
5.7 |
To display the definition of a variable, place the cursor on the
variable and use the [i command. To display a macro definition,
place the cursor on the macro name and use the [d command.
Note that these commands will work most of the time (not all the
time). To get more help on these commands, use
:help [i
:help [d
<<Jumping to the declaration of a local/global variable |
Jumping to previosuly visited locations in a file >>
Additional Notes
|