Skip to content

Commit

Permalink
remove keystroke changes for macros
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge authored and rebornix committed Mar 10, 2017
1 parent 6f71ee1 commit caae85d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ class CommandExecuteMacro extends BaseCommand {
vimState.recordedState.transformations.push({
type: "macro",
register: register,
replay: "keystrokes"
replay: "contentChange"
});

return vimState;
Expand Down Expand Up @@ -840,7 +840,7 @@ class CommandExecuteLastMacro extends BaseCommand {
vimState.recordedState.transformations.push({
type: "macro",
register: lastInvokedMacro.registerName,
replay: "keystrokes"
replay: "contentChange"
});
}

Expand Down
1 change: 0 additions & 1 deletion src/mode/modeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,6 @@ export class ModeHandler implements vscode.Disposable {
}
this.vimState.recordedState = new RecordedState();
await this.handleMultipleKeyEvents(keyStrokes);
await this.updateView(this.vimState);
}

vimState.isReplayingMacro = false;
Expand Down

0 comments on commit caae85d

Please sign in to comment.