Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Edit files from an ssh session in TextMate
Ruby
tree: ab9ff231bd

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
Gemfile
README.mdown
Rakefile
rmate.gemspec

README.mdown

rmate

If you wish to activate TextMate from an ssh session you can do so by copying the rmate (ruby) script to the server you are logged into. The script will connect back to TextMate running on your Mac so you should setup an ssh tunnel (as your Mac is likely behind NAT):

ssh -R 52698:127.0.0.1:52698 user@example.org

Install

You can install rmate via gem:

gem install rmate

Updating to latest version can be done using:

gem update rmate

Usage

rmate [options] file

Call rmate --help for a list of options. Default options can be set in /etc/rmate.rc or ~/.rmate.rc, e.g.:

host: auto  # prefer host from SSH_CONNECTION over localhost
port: 52698

You can also set the RMATE_HOST and RMATE_PORT environment variables.

For more info see this blog post about rmate.

Ports

  • Bash by Harald Lapp
Something went wrong with that request. Please try again.