No edit summary |
m (Tag with line:column moved to Tags that jump to line and column: Page moved by JohnBot to improve title) |
Revision as of 09:41, 18 October 2007
Tip: #601 - Tags that jump to line and column
Created: October 30, 2003 13:03 Complexity: basic Author: mosh--AT--cs.albany.edu Version: 6.0 Karma: 13/6 Imported from: Tip#601
Tags allow us to jump to a particular line,
but I needed to get to the exact column also,
eg. when I have many tags on one long line.
This is not possible with the tag format, however
with Vim's regexp extensions, I am able to generate
and use such tags, eg:
> tail -1 ./tags
main mohsin.c /^\%89l\%12c/ ;" Goto line 89, column 12.