aurora / rmate

Remote TextMate 2 implemented as shell script
GNU General Public License v3.0
886 stars 123 forks source link

Support opening directories #33

Closed drmuey closed 9 years ago

drmuey commented 9 years ago

v0.9.1

Is there a way to get: rmate path/to/dir to handle directories like: mate path/to/dir

ATM, it seems to open it as a file and, on save, does not do anything on the remote server and there is no error anywhere

thanks!

aurora commented 9 years ago

This is definitly an error, rmate should not handle directories and will exit now. "mate" is able to handle things in a different way. This issue was also reported for the ruby version of rmate and i think Allan has a good explanation why this does not work with rmate: https://github.com/textmate/rmate/issues/9#issuecomment-15991666

i am sorry ... my recommended way -- if you really want to open multiple files -- is to use rmate together with 'find'.