Tip #8: Jumping to the declaration of a local/global variable
tip karma |
Rating 81/38, Viewed by 2854
|
created: |
|
February 24, 2001 18:00 |
|
complexity: |
|
basic |
author: |
|
Yegappan |
|
as of Vim: |
|
5.7 |
'gd' command:
To jump to the declaration of a local variable in a C program,
position the cursor on the name of the variable and use the
gd command.
'gD' command:
To jump to the declaration of a global variable in a C program,
position the cursor on the name of the variable and use the
gD command.
<<Jumping to the start and end of a code block |
Displaying a variable/macro definition >>
Additional Notes
|