Vim icon indicating copy to clipboard operation
Vim copied to clipboard

fixes #8975 The literal string "<leader>" is substituted for the leader key when repeating a command-line command

Open HenryTSZ opened this issue 1 year ago • 0 comments

What this PR does / why we need it:

fixes #8975 The literal string "" is substituted for the leader key when repeating a command-line command

Which issue(s) this PR fixes

#8975

Special notes for your reviewer:

The commandList here saves the ex command, which typically do not include leader.

https://github.com/VSCodeVim/Vim/blob/5365305330a69288f38acfd12ae85cba7a593fa6/src/state/recordedState.ts#L58-L59

Therefore, we do not need the following replace

https://github.com/VSCodeVim/Vim/blob/5365305330a69288f38acfd12ae85cba7a593fa6/src/state/recordedState.ts#L62-L64

HenryTSZ avatar Jun 13 '24 07:06 HenryTSZ