feat(ssh): add hotkey to open SFTP panel (#11106)

Co-authored-by: Eugene <inbox@null.page>
This commit is contained in:
Utkarsh Adhran
2026-05-07 22:33:23 +02:00
committed by GitHub
co-authored by Eugene
parent c0530686cb
commit 84fd0a9a51
3 changed files with 8 additions and 0 deletions
@@ -64,6 +64,9 @@ export class SSHTabComponent extends ConnectableTerminalTabComponent<SSHProfile>
this.ssh.launchWinSCP(this.sshSession)
}
break
case 'open-sftp':
this.openSFTP()
break
}
})
+1
View File
@@ -15,6 +15,7 @@ export class SSHConfigProvider extends ConfigProvider {
hotkeys: {
'restart-ssh-session': [],
'launch-winscp': [],
'open-sftp': [],
},
}
+4
View File
@@ -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() }