On Wed, Nov 18, 2020 at 4:39 AM Bram Moolenaar <b...@moolenaar.net> wrote:

>
> Yegappan wrote:
>
> > On Wed, Nov 18, 2020 at 2:35 AM Bram Moolenaar <b...@moolenaar.net>
> wrote:
> >
> > >
> > > Patch 8.2.2005
> > > Problem:    Redoing a mapping with <Cmd> doesn't work properly.
> > > Solution:   Fill the redo buffer.  Use "<SNR>" instead of a key code.
> > >             (closes #7282)
> > > Files:      src/ops.c, src/getchar.c, src/testdir/test_mapping.vim
> > >
> > >
> > Thanks for addressing this. I have been looking into this. As I haven't
> > worked with the redo logic before, I couldn't make much progress.
>
> Yeah, this is some special trick to make redo work with an Ex command.
> Now we need to do this both for ":" and <Cmd>.
> I suppose Neovim has the same problem?
>
>

Yes. Neovim also has the same problem with redoing the <Cmd> command
in operator pending mode.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7k2CJ44ajcBECsyg1M_c1fs_G24KwP7tfWA-5-oP925Ag%40mail.gmail.com.

Raspunde prin e-mail lui