This commit is contained in:
Alex Dima
2018-05-31 16:13:45 +02:00
parent e2b7a2d1b8
commit 6eac0c4fbc
6 changed files with 2115 additions and 109 deletions

View File

@ -220,8 +220,7 @@ export class Controller implements IController {
private _interpretNormalModeInput(editor: TextEditor, modifierKeys: ModifierKeys): Thenable<ITypeResult> {
if (this._currentInput.startsWith(':')) {
return window.showInputBox({ value: 'tabm' }).then((value) => {
let result = this._findMapping(value || '', editor, modifierKeys);
return Promise.resolve(result);
return this._findMapping(value || '', editor, modifierKeys);
});
}
let result = this._findMapping(this._currentInput, editor, modifierKeys);