if you have the text selected in visual mode already, you could simply do dVP. this will delete the selected text, putting it in the " register, then select the whole line, and replace it with the contents of the " register.
On Thu, Dec 4, 2008 at 9:06 AM, fritzophrenic <[EMAIL PROTECTED]>wrote: > > > > On Dec 3, 12:12 pm, Marc Weber <[EMAIL PROTECTED]> wrote: > > > y0Dp > > > > Don't forget that D will override your yanked text.. > > Whoops, that's right. > > Make that y0D"0p > > And the same for the cc<esc> option. > > I like your method better...much shorter. > > > -- Christopher Suter --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
