mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-19 08:07:28 +03:00
Added @registername to status bar when recording macro
This commit is contained in:
parent
f1eeabd616
commit
d812e7261d
@ -1496,8 +1496,8 @@ export class ModeHandler implements vscode.Disposable {
|
||||
this.setupStatusBarItem(`Searching for: ${ this.vimState.searchState!.searchString }`);
|
||||
} else {
|
||||
this.setupStatusBarItem(
|
||||
`-- ${ this.currentMode.text.toUpperCase() } ${ this._vimState.isMultiCursor ? 'MULTI CURSOR' : '' } -- ` +
|
||||
`${this._vimState.isRecordingMacro ? 'Recording' : ''}`);
|
||||
`-- ${this.currentMode.text.toUpperCase()} ${this._vimState.isMultiCursor ? 'MULTI CURSOR' : ''} -- ` +
|
||||
`${this._vimState.isRecordingMacro ? 'Recording @' + this._vimState.recordedMacro.registerName : ''}`);
|
||||
}
|
||||
|
||||
vscode.commands.executeCommand('setContext', 'vim.mode', this.currentMode.text);
|
||||
|
Loading…
Reference in New Issue
Block a user