Go to line Edit History Talk0 1,599pages on this wiki Revision as of 04:19, April 25, 2008 by JohnBot (Talk | contribs) (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) Tip 751 Printable Monobook Previous Next created June 21, 2004 · complexity basic · author Char · version 5.7 There are at least three different ways to go to a particular line (line 42 for example): 42G 42gg :42<CR> Comments Read more In normal mode, typing gm moves the cursor to the middle of the current screen line. With 'wrap... A better gm command To jump to the declaration of a local variable in a C program, position the cursor on the name... Jumping to the declaration of a local/global variable Place the cursor on any variable in your program. gd will take you to the local declaration. gD... Go to definition using g Categories: VimTip Moving