Relative Line Numbers
When you tell Qedit which line you are interested in, you can either specify the exact line number, as in
/list 5 or /list last
or you can specify a position relative to an exact line, as in
/list *+6 or /list last-1
The first lists a line that is 6 lines after the current line and second lists the second from last line in the file. The "*" is optional. Relative line numbers can go forward or backward 10,000 lines.
To modify the text around the current line, use
/modify *-5/
{use Control-Y to stop the Modify}
/modify -5/
{the * is optional}
Qedit will even let you use relative line numbers when looking at an external file, as in
/list invoice.job last-10/last
![Home](rnd2hm_s.gif)
![Previous](rnd2pr_s.gif)
![Next](rnd2nx_s.gif)