Oct 22, 2018

[HDGEM] vim Range of Operation, Line Addressing and Marks

Specifier
Description
number
an absolute line number
.
the current line
$
the last line in the file
%
the whole file. The same as 1,$
't
position of mark "t"
/pattern[/]
the next line where text "pattern" matches.
?pattern[?]
the previous line where text "pattern" matches
\/
the next line where the previously used search pattern matches
\?
the previous line where the previously used search pattern matches
\&
the next line where the previously used substitute pattern matches



--
Posted By Blogger to HDGEM at 1/20/2017 03:14:00 PM