diff --git a/tabby-ssh/src/components/sshTab.component.ts b/tabby-ssh/src/components/sshTab.component.ts index b676dc66..6e91cca8 100644 --- a/tabby-ssh/src/components/sshTab.component.ts +++ b/tabby-ssh/src/components/sshTab.component.ts @@ -64,6 +64,9 @@ export class SSHTabComponent extends ConnectableTerminalTabComponent this.ssh.launchWinSCP(this.sshSession) } break + case 'open-sftp': + this.openSFTP() + break } }) diff --git a/tabby-ssh/src/config.ts b/tabby-ssh/src/config.ts index 8c32ba89..c5ec1d8e 100644 --- a/tabby-ssh/src/config.ts +++ b/tabby-ssh/src/config.ts @@ -15,6 +15,7 @@ export class SSHConfigProvider extends ConfigProvider { hotkeys: { 'restart-ssh-session': [], 'launch-winscp': [], + 'open-sftp': [], }, } diff --git a/tabby-ssh/src/hotkeys.ts b/tabby-ssh/src/hotkeys.ts index 50175468..61e50e00 100644 --- a/tabby-ssh/src/hotkeys.ts +++ b/tabby-ssh/src/hotkeys.ts @@ -13,6 +13,10 @@ export class SSHHotkeyProvider extends HotkeyProvider { id: 'launch-winscp', name: this.translate.instant('Launch WinSCP for current SSH session'), }, + { + id: 'open-sftp', + name: this.translate.instant('Open SFTP panel'), + }, ] constructor (private translate: TranslateService) { super() }