Skip to content

Ctrl-A, Ctrl-X do not repeat inside of macros on gvim from Ubuntu jammy #46

@chiphogg

Description

@chiphogg

This is the version included in Ubuntu's "Jammy Jellyfish" release (22.04, LTS):

:version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 11 2023 23:53:12)
Included patches: 1-3995, 4563, 4646, 4774, 4895, 4899, 4901, 4919

Here is a minimal reproduction. First, the .vimrc:

call plug#begin('~/.vim/plugged')

Plug 'tpope/vim-speeddating'

call plug#end()

(Naturally, this is for users who have set up vim-plug already. I assume this happens no matter how the plugin was installed!)

To reproduce with this .vimrc, follow these steps in a new vim session (blank file):

  1. Insert a 1.
  2. Record a macro that increments it: qq<C-A>q
  3. Play back the macro: @q

With this plugin involved, nothing happens. Without it --- e.g., vim -u NONE --- the number increments every time you @q.

Decrementing with <C-X> has the same behaviour.


I do not see this behaviour in 18.04's version:

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 20 2022 02:47:53)
Included patches: 1-1453, 3625, 3669, 3741

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions