Use rmate with Sublime Text.
- Total 86K
- Win 30K
- Mac 38K
- Linux 18K
|Jun 10||Jun 9||Jun 8||Jun 7||Jun 6||Jun 5||Jun 4||Jun 3||Jun 2||Jun 1||May 31||May 30||May 29||May 28||May 27||May 26||May 25||May 24||May 23||May 22||May 21||May 20||May 19||May 18||May 17||May 16||May 15||May 14||May 13||May 12||May 11||May 10||May 9||May 8||May 7||May 6||May 5||May 4||May 3||May 2||May 1||Apr 30||Apr 29||Apr 28||Apr 27||Apr 26|
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.
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
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
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
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:
More information on command line options can be found in the rmate repository.