Created
June 15, 2012 04:26
-
-
Save mashihua/2934664 to your computer and use it in GitHub Desktop.
TextMate 2 的 rmate 用法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
打开 Preferences -> Terminal 保证:Accept ramte connectio 选中。 | |
mate ~/.ssh/config | |
添加下面: | |
Host * | |
RemoteForward 52698 127.0.0.1:52698 | |
登录远程的一台 linux 机器。运行下面的命令: | |
curl http://xiaoya.me/install-rmate | sh | |
然后你就可以在本机用 TextMate 2 编辑远程机器上的文件了。 | |
例子: | |
rmate test.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment