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?
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?