mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 17:25:54 -05:00
Changes shortcut keys for diff with previous commands
Adds diff with next command Fixes #45 - Keyboard Shortcut collision with Project Manager Preps v2.11.2
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
'use strict';
|
||||
import { commands, Disposable, TextEditor, window } from 'vscode';
|
||||
import { BuiltInCommands } from './constants';
|
||||
|
||||
export class ActiveEditorTracker extends Disposable {
|
||||
|
||||
@@ -28,11 +29,11 @@ export class ActiveEditorTracker extends Disposable {
|
||||
}
|
||||
|
||||
async close(): Promise<{}> {
|
||||
return commands.executeCommand('workbench.action.closeActiveEditor');
|
||||
return commands.executeCommand(BuiltInCommands.CloseActiveEditor);
|
||||
}
|
||||
|
||||
async next(): Promise<{}> {
|
||||
return commands.executeCommand('workbench.action.nextEditor');
|
||||
return commands.executeCommand(BuiltInCommands.NextEditor);
|
||||
}
|
||||
|
||||
async wait(timeout: number = 500): Promise<TextEditor> {
|
||||
|
||||
Reference in New Issue
Block a user