diff --git a/src/actions/commands/actions.ts b/src/actions/commands/actions.ts index 8e4e974d47e..92936474f4a 100644 --- a/src/actions/commands/actions.ts +++ b/src/actions/commands/actions.ts @@ -556,6 +556,9 @@ class CommandDot extends BaseCommand { count, recordedState: globalState.previousFullAction, }); + } else { + // No previous action to repeat, so mark this as non-repeatable + vimState.lastCommandDotRepeatable = false; } } }