adding to knittl's answer: You can jump to a line number with
[line number] + capital G or end-key
and mark the line with y