Tip 462 Printable Monobook Previous Next
created April 22, 2003 · complexity intermediate · author Nitya · version 5.7
Place the cursor on any variable in your program.
- gd will take you to the local declaration.
- gD will take you to the global declaration.
- g* search for the word under the cursor (like *, but g* on 'rain' will find words like 'rainbow').
- g# same as g* but in backward direction.
- ggdG deletes all lines (remember u to undo).
Comments
Set your 'path' variable properly, put the cursor on a filename (in a #include say) and do a
gf
This will take you to the file under the cursor in the path or current working directory.