Monday, March 22, 2010

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

vfantasie wrote:
> I wonder if there is a way to select last pasted area.

You might be able to do something like

:nnoremap <f4> `[v`]
:vnoremap <f4> `[o`]

The pair of `[ and `] marks don't always contain the last paste,
but if you've just pasted, it should work.

The help is a little obscure, but you can read what it has at

:help `[
:help `]

-tim


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