Hi Anthony!

On Fr, 12 Feb 2010, Anthony Fontanilla wrote:

> I know that to delete n lines, the command is dd[n], where n is the  
> number of lines to delete.
>
> But what if I want to delete up to a certain line number?  Say, if I'm  
> on line 65 and I want to delete up to line 126 without having to do the  
> math, how could I do that?
>
If you are on line 65, you can simply do:
:.,126d

see
:h :delete
:h :range


regards
Christian
-- 
hundred-and-one symptoms of being an internet addict:
90. Instead of calling you to dinner, your spouse sends e-mail.

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

Reply via email to