question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to create a shortcut with an sftp command?

See original GitHub issue

Hi all, any idea how I could add a keyboard shortcut to upload the current file? I’ve added the following in my keybindings.json:

{
	"key": "ctrl+alt+s",
	"command": "SFTP: upload",
	"when": "editorTextFocus"
}

But I get a: command “SFTP:upload” not found.

I’ve tried sftp:upload SFTP:Upload SFTP: Upload … without any success. 😦

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
liximomocommented, May 22, 2018
  • On Windows/Linux - File > Preferences > Keboard Shortcuts
  • On macOS - Code > Preferences > Keboard Shortcuts
0reactions
liximomocommented, Jan 9, 2019

You need map sftp.upload.activeFolder to a different key combination.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create an SFTP folder shortcut in Windows Explorer?
Create a shortcut that explicitly starts Filezilla with the appropriate command-line options, ...
Read more >
Creating Links and Shortcuts - WinSCP
To create new link/shortcut go to File(s) > New > Link. Add link/shortcut dialog will appear. Selected file will become initial target of...
Read more >
Any way to create shortcut for FTP/SFTP linked file upload?
The only way I see to do this now is to right-click the file in the project view and go "upload to server."...
Read more >
How to Create an SSH Shortcut - DigitalOcean
This method involves creating an alias for your shell (or terminal). You can use this for creating any type of shortcut you want,...
Read more >
61 Keyboard Shortcuts for WINSCP SFTP - KeyXL
Common Panel Commands. Tab, Change active panel. Navigation. Ctrl+R, Re-read panel. Backspace, Open parent directory. Ctrl+\, Open root directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found