rsub
Use rmate with Sublime Text.
Details
Installs
- Total 88K
- Win 31K
- Mac 39K
- Linux 18K
Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 2 | 3 | 0 | 0 | 1 | 2 | 5 | 3 | 1 | 0 | 0 | 6 | 0 | 1 | 3 | 1 | 1 | 1 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 3 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 2 | 1 | 2 | 0 | 2 | 4 | 0 | 2 | 0 |
Mac | 1 | 2 | 5 | 0 | 0 | 2 | 1 | 2 | 3 | 2 | 2 | 1 | 2 | 3 | 1 | 2 | 1 | 0 | 1 | 4 | 3 | 1 | 1 | 2 | 1 | 0 | 1 | 2 | 1 | 2 | 4 | 2 | 0 | 0 | 3 | 1 | 1 | 1 | 0 | 2 | 0 | 4 | 0 | 3 | 1 | 0 |
Linux | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 0 | 1 | 1 | 0 | 3 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 1 | 1 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 2 | 2 | 1 | 1 | 1 | 2 | 1 | 0 | 0 | 2 |
Readme
- Source
- raw.githubusercontent.com
rsub
Description
Rsub is an implementation of TextMate 2's 'rmate' feature for Sublime Text 2, allowing files to be edited on a remote server using SSH port forwarding / tunnelling.
Included in this repository are two implementations of the 'rmate' command, the original written in Ruby, and another version written using bash scripting. You will need to choose and copy one of these up to your server, usually with scp, sftp, or plain FTP. See the README file inside rmate-bash for more detail.
Installation
You can install this plugin using sublime package control. It will keep all your plugins up to date. http://wbond.net/sublime_packages/package_control
OR
You can also clone this repository into the Sublime Text 2 'Packages' directory, but you will have to update it manually.
On Mac OS X, this is located at
~/Library/Application Support/Sublime Text 2/Packages
.
Run the following commands in Terminal, then restart Sublime Text 2:
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/henrikpersson/rsub.git rsub
SSH tunneling
Due to security reasons, rsub is only listening for local connections.
Simply put this in your ~/.ssh/config to enable remote forwarding for your server(s):
Host example.com
RemoteForward 52698 127.0.0.1:52698
Usage
Once you have rmate
installed on your remote server (installation instructions can be found here), rsub
installed on your local machine and an ssh tunnel open, execute the following command on your remote server to edit files in SublimeText:
rmate <filename>
More information on command line options can be found in the rmate repository.