Monday, January 14, 2013

Re: How to paste register over visual selection?

On Saturday, January 12, 2013 2:46:34 PM UTC-5, David Fishburn wrote:
> On Jan 12, 2013, at 12:10 PM, skeept wrote:
>
> ....
>
> >>
>
> >
>
> > Would it be possible to define a mapping for p that, when in visual mode checks if I have specified a register (with "a) and in that case pastes the contents of that register, and if not simply pastes a previously specified register?
>
> >
>
> >
>
>
>
> The YankRing plugin will do this for you. If you do not like what it pastes via a key stroke you can cycle through previous pastes and yanked text until you find the one you were interested in.
>
>
>
>
>
> --
>
> David Fishburn


I have tried YankRing before but at this point I am trying to stick to plugins that I use in a daily basis.
Trying to figure out how to define the mapping is more of a curiosity than a necessity.

Regards,
Jorge

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

No comments: