Vim 大写字母下录制的重复宏

Vim repeat macro recorded under a capital letter

通常我使用 q[some letter] 录制 vim 宏并使用 @[some letter]

重播

我刚刚使用 qT 保存了一个宏,我正在尝试 @T 重播它。但是当我做 @T 它只是运行 @t (小写的)。

知道如何存储和重播以大写字母存储的宏吗?

根据 vim 参考手册,在寄存器部分,

  1. Named registers "a to "z or "A to "Z
    Vim fills these registers only when you say so. Specify them as lowercase letters to replace their previous contents or as uppercase letters to append to their previous contents. When the '>' flag is present in 'cpoptions' then a line break is inserted before the appended text.

所以记录到 T 寄存器实际上只是附加到 t 寄存器。大小写寄存器不分开