Thursday, December 17, 2015

Is there a way to display line numbers and relative line numbers as with two rulers?

Hi,
when I would like to delete for example from current line included to three lines up included I use normal mode command:
d3k (delete by pressing up key three times)
In this case "relative numbering" is very useful to see the number up to which to delete to. The following settings are desired:
:set relativenumber
:set nonumber

But sometimes I would like to copy text from e.g. 30 to 35 lines to line bellow current line. In this case I use command mode command:
:30,35t. (copy text from 30 to 35 lines both included to line bellow current line).
In this case I would like to have real lines numbering on like:
:set norelativenumber
:set number

Is there a way to have like two rulers like "realtive numbering" at left of the window and "real line numbers" on the rigth site of window?
See attachment for print-screen.

I am using GVim 7.4 on Windows 7 downloaded from official site.
Regards

--
--
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/d/optout.

No comments: