Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Tip 462 Printable Monobook Previous Next
created 2003 · complexity basic · author Nitya · version 6.0
Place the cursor on any variable in your program.
gdwill take you to the local declaration.
gDwill take you to the global declaration.
g*search for the word under the cursor (like
g*on 'rain' will find words like 'rainbow').
g#same as g* but in backward direction.
gggoes to the first line in the buffer (or provide a count before the command for a specific line).
Ggoes to the last line (or provide a count before the command for a specific line).
gfwill go to the file under the cursor
g]and other commands will jump to a tag definition (a tag can be a function or variable name, or more).