textmate / rmate

Edit files from an ssh session in TextMate
http://blog.macromates.com/2011/mate-and-rmate/
514 stars 81 forks source link

Suggestion: disable terminal re-activate on closing textmate tab #28

Closed diab303 closed 10 years ago

diab303 commented 10 years ago

Trying to close multiple files at the end of a coding session (cmd-w repeatedly in textmate) will close the first file then the terminal controlling it because on close the terminal gets focus. I'm not sure why this is the default behavior but luckily it's rather easy to fix (cmd['re-activate'] = false in line 175)

sorbits commented 10 years ago

It’s the default because that’s how mate works (and I like it).

The mate command though has an option to disable it:

 -n, --no-reactivation  After edit with -w, do not re-activate the 

calling app.

You’re welcome to submit a pull request adding a similiar option (and also read the option from the rmate.rc file).

On 25 Nov 2013, at 23:28, diab303 wrote:

Trying to close multiple files at the end of a coding session (cmd-w repeatedly in textmate) will close the first file then the terminal controlling it because on close the terminal gets focus. I'm not sure why this is the default behavior but luckily it's rather easy to fix (cmd['re-activate'] = false in line 175)


Reply to this email directly or view it on GitHub: https://github.com/textmate/rmate/issues/28