News for hackers. Stuff that matters.
Re:How a Vim user converts to Emacs by prog on Friday December 24, 2010 @08:36AM (#2037222)
> With Vim you have to count the number of lines ahead of the operation, which is a real speedbump.

With Vim 7.3, a new option 'relativenumber' was introduced to help with this.

From :h relativenumber

Show the line number relative to the line with the cursor in front of each line. Relative line numbers help you use the |count| you can precede some vertical motion commands (e.g. j k + -) with, without having to calculate it yourself. Especially useful in combination with other commands (e.g. y d c < > gq gw =).

There are no comments on this comment yet.