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

2010-03-06 Thread Tony Mechelynck
On 02/01/10 02:07, Chris Jones wrote: On Fri, Jan 01, 2010 at 06:40:24PM EST, Tim Chase wrote: 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 cur

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

2010-01-01 Thread Chris Jones
On Fri, Jan 01, 2010 at 06:40:24PM EST, Tim Chase wrote: > 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

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

2010-01-01 Thread Tim Chase
Marc Weber wrote: > Another way: > > use in insert mode. You know about a and i to enter insert mode.. Just a word of caution, this requires that 'backspace' include "start" (which it often does, but can sting you of if you expect it and it *isn't* set). -tim -- You received this message f

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

2010-01-01 Thread Tim Chase
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 t

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

2010-01-01 Thread Marc Weber
Another way: use in insert mode. You know about a and i to enter insert mode.. Marc Weber -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

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

2010-01-01 Thread Chris Jones
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? CJ --

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

2010-01-01 Thread Peng Yu
'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? -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php