On Thursday, November 12, 2015 at 8:13:55 AM UTC-6, shawn wilson wrote:
> On Tue, Nov 10, 2015 at 11:07 AM, shawn wilson <ag4ve.us@gmail.com> wrote:
> > On Tue, Nov 10, 2015 at 11:05 AM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> >> On Tuesday, November 10, 2015 at 9:44:33 AM UTC-6, shawn wilson wrote:
> >>> On Tue, Nov 10, 2015 at 10:19 AM, Tim Chase <vim@tim.thechases.com> wrote:
> >>> > On 2015-11-10 07:38, shawn wilson wrote:
> >>> >> How about this - is there an event that I can use to just redefine
> >>> >> what vim already made with the same information?
>
> >>> An autocommand trigger
> >>>
>
> >> One that would fire under what circumstances?
> >>
>
> > Fires when a register is changed.
>
> Since I've looked through lots of autocommands and nothing looks
> promising and no one has gotten back here, there's not a good way of
> doing what I want?
There are no autocmds that I know of for macro recording.
I also know of no way to get the last-used register, otherwise I'd just suggest a simple mapping.
Also macro recording is, IIRC, disabled in a mapping, so you can't even store it by remapping the macro record functionality.
I think you'll just need to stick with manual editing. If you want a more automated system, I could envision a plugin using a special buffer and a BufWriteCmd autocmd for setting registers, but I don't know if such a plugin exists, and I don't know if it would actually make the process any easier than it is now.
--
--
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/d/optout.
Thursday, November 12, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment