Friday, August 30, 2013

Re: yankring and @: (repeat last ex command)

David Fishburn <dfishburn.vim@gmail.com> wrote, on ven 30 aoû 09:53 :

> On Fri, Aug 30, 2013 at 4:55 AM, Davido <orduval@gmail.com> wrote:
>
> > Hello,
> >
> > Yankring doesn't seem to manage the @: command, so I first tried this
> > workaround :
> >
> > nnoremap @: :<c-r>:<cr>
> >
> > which works, but is not very elegant.
> >
> > Thanks for the report and the code.
>
> I had already addressed this in the next release (18.0) with the following:
>
> if zapto !~ '\(\w\|@\|:\)'
> " Abort if the user does not specify a register
> call s:YRWarningMsg( "YR:No register specified, aborting macro" )
> return ""
> endif
>
> David

It works fine, thanks !

By the way, is the dev version of yankring available ? (I wouldn't mind
using/testing it)

--
Davido

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment