Friday, January 1, 2010

Re: How to delete everything before the cursor until the beginning of the line?

Chris Jones wrote:
> On Fri, Jan 01, 2010 at 06:04:46PM EST, Peng Yu wrote:
>
>> 'D' deletes everything after the cursor until the end of the line. Is
>> there a command that delete everything before the cursor until the
>> beginning of the line?
>
> v0d is what I do.. three key presses. Surely there's a better way?


d0

should do the trick. No need to go visual.

-tim


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

No comments:

Post a Comment