Permalink
Browse files

Update README

Closes #6.
  • Loading branch information...
1 parent b59aef2 commit d64d054da0258991d288d7b5493cddd397d56ff1 @sorbits sorbits committed Mar 16, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 README.mdown
View
@@ -2,13 +2,15 @@
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 «server»
+ ssh -R 52698:127.0.0.1:52698 user@example.org
# Usage
-Call `rmate --help` for options. Default options can be set in `/etc/rmate.rc` or `~/.rmate.rc`, e.g.:
+ rmate [options] file
- host: auto
+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.

0 comments on commit d64d054

Please sign in to comment.