Skip to content

Commit

Permalink
Merge pull request #1263 from rufusroflpunch/master
Browse files Browse the repository at this point in the history
Clearing commandList for remapped commands
  • Loading branch information
johnfn authored Feb 3, 2017
2 parents da6469e + a01eb94 commit b177c17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mode/modeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,8 @@ export class ModeHandler implements vscode.Disposable {

if (!handled) {
this._vimState = await this.handleKeyEventHelper(key, this._vimState);
} else {
this._vimState.recordedState.commandList = [];
}
} catch (e) {
console.log('error.stack');
Expand Down

0 comments on commit b177c17

Please sign in to comment.