Monday, March 22, 2010

Re: Select last pasted area---Indent after paste

On Mon, 22 Mar 2010, vfantasie wrote:

> Hi everyone!
>
> I wonder if there is a way to select last pasted area. When
> programming I do copy&paste much, but the indent after copy&paste
> isn't always right. I need to select them and press '='. It would be
> very nice if I can select the last pasted area qucikly. Is that
> possible, or is there a better soluton about the indent after paste?

I generally use ']p' to paste with proper indent. If I forget to use
the ']', I just 'u'ndo and do it again.

It would be nice to know how to select what was just pasted, though, for
the case where ']p' doesn't get the right indent level.

--
Best,
Ben

--
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

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: