On 2/13/08, Nick Gravgaard <[EMAIL PROTECTED]> wrote: > > > On Wed, 13 Feb 2008 10:26:00 -0700, "Erik Falor" <[EMAIL PROTECTED]> > said: > > :.,+23d > > How does that help you count the number of lines you want to delete? > > Oh, it doesn't. Its just less to type than :2435,2457d :)
I think your idea has a lot of potential. Given the fact that most Vim commands can take a count, I can't believe no one thought of this sooner. I had never tried to use a negative count before I read this thread. -2d doesn't delete the current line plus the two above it, but 2d- does. -- Erik Falor Registered Linux User #445632 http://counter.li.org --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
