[TxMt] Quick command help

George McGinley Smith george at gsgd.co.uk
Wed Jul 15 08:27:06 UTC 2020


Hey there,

I'm trying to figure out how to get back to a command's HTML window after
the command has finished. What I currently have works fine:

#!/usr/bin/env ruby18

require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/executor"

ENV['EDITOR'] = 'mate --wait'
TextMate::Executor.run("eyaml", "edit", "#{ENV['TM_FILEPATH']}")

I have Output set to show in a new HTML window and I do get the output
there. I'm just wondering if there's a way to get TM to automatically
return to the HTML window after I've closed the modified eyaml (so I don't
miss any error output for example).

Thanks,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20200715/7d3c55af/attachment.html>


More information about the TextMate mailing list