Skip to content

Commit

Permalink
Merge pull request #4163 from xconverge/echo-remapped-cmd
Browse files Browse the repository at this point in the history
Echo remapped command in statusbar
  • Loading branch information
xconverge authored Oct 12, 2019
2 parents 5a618b2 + c5e9f80 commit eadb5c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/configuration/remapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { ModeName } from '../mode/mode';
import { VimState } from './../state/vimState';
import { commandLine } from '../cmd_line/commandLine';
import { configuration } from '../configuration/configuration';
import { StatusBar } from '../statusBar';

interface IRemapper {
/**
Expand Down Expand Up @@ -172,6 +173,13 @@ export class Remapper implements IRemapper {
} else {
await vscode.commands.executeCommand(commandString);
}

StatusBar.Set(
commandString + ' ' + commandArgs,
vimState.currentMode,
vimState.isRecordingMacro,
true
);
}
}
}
Expand Down

0 comments on commit eadb5c3

Please sign in to comment.