Wednesday, May 29, 2013

Why use relative line numbers?

The discussion about relative line numbers raises the question (for
me): why use relative line numbers at all?

The main reason I keep reading is that instead of having to calculate
how many lines one wants to move and then use, say, 5j to move there
(or pressing j five times, yuck), one can immediately see that the
desired line is 5 lines away.

But if I am on line 7 and see something on another line, I can just
use 12gg or 12G to get there. And if I have relative numbering on, it
messes with specifying ranges (as far as I can tell). Does relative
numbering offer other efficiencies?

c
--
Chris Lott <chris@chrislott.org>

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment