From 84fd0a9a517157d4d0f4b2af3b1c0f82b489160d Mon Sep 17 00:00:00 2001 From: Utkarsh Adhran Date: Fri, 8 May 2026 02:03:23 +0530 Subject: [PATCH] feat(ssh): add hotkey to open SFTP panel (#11106) Co-authored-by: Eugene --- tabby-ssh/src/components/sshTab.component.ts | 3 +++ tabby-ssh/src/config.ts | 1 + tabby-ssh/src/hotkeys.ts | 4 ++++ 3 files changed, 8 insertions(+) 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() }