> Thanks Milan, that's great. It would be perfect if it updated itself > every time the cursor moved up or down a line, and if it counted as if > the current line's number was 1 (so that to delete the current and next > lines using "2dd" the last line I wanted to delete would have "2" next > to it).
Super that it works for you. Now it's your turn :-) Modification of minimal line number is trivial, but events in vim is a system I still don't know - remember this was my first vim script at all so you probably know more about vim scripting than me :-) So modification with events is up to you. BTW, I don't think it's a good idea because you don't need this feature so often, it may be easier to press one key to get it when you need it than to slow down vim by recalculating signs every time the cursor moves. But you will see - try it and tell me. Milan -- Milan Vancura, Prague, Czech Republic, Europe --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
