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

2015-12-31 Thread Charles E Campbell
Arun wrote: On Thu, Dec 17, 2015 at 1:05 PM, Christian Brabandt > wrote: On Do, 17 Dez 2015, Arun wrote: > visual indication is a very acceptable trade off for me. I have two > visual mode mappings in that regard: > > >

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

2015-12-31 Thread Tony Mechelynck
On Fri, Dec 18, 2015 at 7:51 AM, Christian Brabandt wrote: > On Do, 17 Dez 2015, Igor Forca wrote: > >> Is there some setting to have two rulers one on the left and one on >> the right in single window? > > No there isn't. We would have told you so otherwise. > > Best, >

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

2015-12-18 Thread Ben Fritz
On Friday, December 18, 2015 at 12:49:12 AM UTC-6, Igor Forca wrote: > > > If I don't figure out any better idea, then I would probably use idea from > some other post to map key to switch between relative to absolute numbering > like: > :nnoremap n :set relativenumber! That won't switch all

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

2015-12-17 Thread Igor Forca
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

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

2015-12-17 Thread Christian Brabandt
On Do, 17 Dez 2015, Igor Forca wrote: > 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 >

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

2015-12-17 Thread Christian Brabandt
Am 2015-12-17 13:14, schrieb Igor Forca: Yes, something like that but if possible to have one ruler on left and one on right site. in that case, you can create a vertical window, fill the buffer with the numbering and scroll bind it to the current window. -- -- You received this message

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

2015-12-17 Thread Arun
Not exactly what you are asking, but I have found visual mode delete and yank much faster. I agree that you have to lift your hand to use the mouse, but the visual indication is a very acceptable trade off for me. I have two visual mode mappings in that regard: :vnoremap :d :vnoremap :y What

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

2015-12-17 Thread Christian Brabandt
On Do, 17 Dez 2015, Arun wrote: > visual indication is a very acceptable trade off for me. I have two > visual mode mappings in that regard: > > > :vnoremap :d :vnoremap :y Well, you could simply press d or y in visual mode. Best Christian -- aufstehen: die schwerste Arbeit des

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

2015-12-17 Thread Igor Forca
> in that case, you can create a vertical window, fill the buffer with the > numbering > and scroll bind it to the current window. I tried this: 1. New vertical window (normal mode): vsp 2. Turn absolute numbering on (command mode): :set norelativenumber number 3. Scroll bind windows (command

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

2015-12-17 Thread Christian Brabandt
On Do, 17 Dez 2015, Igor Forca wrote: > Is there some setting to have two rulers one on the left and one on > the right in single window? No there isn't. We would have told you so otherwise. Best, Christian -- Der Chef zu einem seiner Angestellten: "Heute will ich mir mal etwas Gutes tun und

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

2015-12-17 Thread Arun
On Thu, Dec 17, 2015 at 1:05 PM, Christian Brabandt wrote: > On Do, 17 Dez 2015, Arun wrote: > > > visual indication is a very acceptable trade off for me. I have two > > visual mode mappings in that regard: > > > > > > :vnoremap :d :vnoremap :y > > Well, you could

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

2015-12-17 Thread Igor Forca
Yes, something like that but if possible to have one ruler on left and one on right site. -- -- 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