Edit remote files using SSH/FTP. Remote-edit-ni is a continuation of the abandoned remote-edit package (the suffix -ni reffering to the newinnovations fork). It is compatible with the latest version of atom (1.41.x at the time of writing) and contains a lot of new features.
remote-edit-ni for atom.io
Remote-edit-ni is a continuation of the abandoned remote-edit package. It is compatible with the latest version of atom (1.41.x at the time of writing) and contains a lot of new features.
This version integrates the work of Andreas Bontozoglou (@urban-1) and Martin van der Werff (@newinnovations).
Getting started
Use Alt+r b (or ⌘+r b for Mac) to browse the list of configured hosts. Which will be empty at first.
In this view press shift+s to add your SFTP/SSH host or use shift+f to add your FTP host.
Then press Alt+r b / ⌘+r b again and select your host. Remote edit will connect to your host and show the list of remote files in a side window (pane). Navigation should be pretty straightforward. Double click to open files or directories or use your keyboard.
Please note / caveats
There is currently no check to see whether the file was changed on the remote host. Saving will overwrite any changes on the remote server.
All information is stored in cleartext on disk. This includes passwords and passphrases. Please use only your ssh-agent for authentication so no sensitive information needs to be stored by remote-edit.
Main keyboard shortcuts
-
Alt+r b / ⌘+r b - Select remote host and start browsing in configured directory (or last directory when selected in preferences).
-
Alt+r m / ⌘+r m - Browse remote host in directory of the current editor tab.
-
Alt+r v / ⌘+r v - Show/hide remote-edit panel
-
Alt+r o / ⌘+r o - Show open (downloaded) remote files.
-
Alt+r f / ⌘+r f - Give focus to the remote-edit file browser. This allows you to navigate with keyboard (up/down/enter/backspace/escape)
-
Alt+r l / ⌘+r l - Give focus to the remote-edit file browser's filter bar which can also be used for navigation to a different folder
-
Alt+r d / ⌘+r d - Disconnect all open server connections. Server connections are normally kept open to improve save and browse performance.
shortcuts within host selection dialog
-
Shift+a or Shift+s - Add sftp host.
-
Shift+f - Add ftp host.
-
Shift+e - Edit hosts.
-
Shift+d - Delete hosts or downloaded files. Usable when selecting hosts (Browse) or open files (Show open remote files).
TODO
- Consider another location for the temporary files
- Enumerate the open file list when atom is launched
Credits
This is a fork of a project created by Sverre Aleksandersen (@sveale). It was forked to implement bug fixes and several new features.