On Mon, Aug 18, 2008 at 10:15 PM, Charles Campbell wrote:

> Hello!
>
> I've issued a new plugin on my website:
> http://mysite.verizon.net/astronaut/vim/index.html#RLTVNMBR .  It uses
> the signs capability of "huge" vim to give relative numbering.  After
> some comment period I expect to release it on vim.sf.net.  I'd like to
> mention the relative numbering patch in my document -- would someone
> please tell me where that patch is again?
>
> And, as you may notice, I think I've now got a way to respond again to
> messages on the mailing list.
>
> Thank you,
> Chip Campbell


That's quite nice!  Thanks Chip.

I noticed that the relative line numbering does not appear when
resizing my terminal, until I move the cursor.  Attached patch
fixes it (not sure if it's the best way to fix it):


$ diff -d -c RltvNmbr.vim.orig RltvNmbr.vim
*** RltvNmbr.vim.orig 2008-08-19 02:50:00.000000000 +0200
--- RltvNmbr.vim        2008-08-19 02:48:15.000000000 +0200
***************
*** 135,140 ****
--- 135,141 ----
     augroup RltvNmbrAutoCmd
        au!
      au CursorMoved * call <SID>RltvNmbr(2)
+     au VimResized * call <SID>RltvNmbr(1)
        au ColorScheme * call <SID>ColorschemeLoaded()
     augroup END

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui