Way to clear line without removing the line?

2011-03-28 Thread David Kahn
I am guessing this should be a real simple question but cant find an answer readily: If I want to remove all contents of a line, I press 'd' twice. But in most cases I want the line to still be there (meaning the space, so after deleting I would have a blank line), so I tend to find myself when de

Re: Way to clear line without removing the line?

2011-03-28 Thread Israel Chauca F.
On Mar 28, 2011, at 1:33 PM, David Kahn wrote: > I am guessing this should be a real simple question but cant find an answer > readily: > > If I want to remove all contents of a line, I press 'd' twice. But in most > cases I want the line to still be there (meaning the space, so after > deleting

Re: Way to clear line without removing the line?

2011-03-28 Thread Benjamin R. Haskell
On Mon, 28 Mar 2011, David Kahn wrote: I am guessing this should be a real simple question but cant find an answer readily: If I want to remove all contents of a line, I press 'd' twice. But in most cases I want the line to still be there (meaning the space, so after deleting I would have a

Re: Way to clear line without removing the line?

2011-03-28 Thread Tim Chase
On 03/28/2011 01:33 PM, David Kahn wrote: If I want to remove all contents of a line, I press 'd' twice. But in most cases I want the line to still be there (meaning the space, so after deleting I would have a blank line), so I tend to find myself when deleting afterward replacing the line (like

Re: Way to clear line without removing the line?

2011-03-28 Thread rameo
On Mar 28, 8:33 pm, David Kahn wrote: > I am guessing this should be a real simple question but cant find an answer > readily: > > If I want to remove all contents of a line, I press 'd' twice. But in most > cases I want the line to still be there (meaning the space, so after > deleting I would ha

Re: Way to clear line without removing the line?

2011-03-29 Thread eNG1Ne
Or d$ (delete from curpos to end of line) in edit mode -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php

Re: Way to clear line without removing the line?

2011-03-30 Thread Karol Samborski
2011/3/30 eNG1Ne : > Or d$ (delete from curpos to end of line) in edit mode > D is quicker ;) Regards, Karol Samborski -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/mai

Re: Way to clear line without removing the line?

2011-03-30 Thread Ben Schmidt
On 30/03/11 9:30 PM, Karol Samborski wrote: 2011/3/30 eNG1Ne: Or d$ (delete from curpos to end of line) in edit mode D is quicker ;) Depends on your keyboard and skills with the shift key. ;-) Ben. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: Way to clear line without removing the line?

2011-03-30 Thread Joan Miquel Torres Rigo
2011/3/31 Ben Schmidt >>> >> D is quicker ;) > > Depends on your keyboard and skills with the shift key. ;-) Returning to original question, to clear whole line, cc doesn't need any skill with shift key in almost all keyboards and I dare to say is more kick than 0D. Specially if you have CapsLock