dwb / atom-xterm

Open terminal tabs in Atom. Fork of term3 and all who went before.
Other
9 stars 2 forks source link

Scripting xterm from other plugins? #10

Open mbklein opened 7 years ago

mbklein commented 7 years ago

I'm looking to write a plugin that would execute commands in an xterm session (either existing or new) based on context in the editor. For example, if I've got a ruby spec file open, I might want to run bundle exec -cf doc rspec [path_to_open_file]:[current_line_number] in xterm.

Is there currently a way to hook into the xterm plugin to do this?

mbklein commented 7 years ago

(I assume the Pipe Path and Pipe Selection commands might be a good place to start)