DTerm Support (Context-sensitive command line)


It would be great to have support for [DTerm][1]:

“DTerm provides a context-sensitive command line that makes it fast and easy to run commands on the files you’re working with and then use the results of those commands.”

Currently, invoking DTerm in Atom just defaults to the home directory and doesn’t grab the current document.

Judging from the [source code][2], DTerm uses the Accesibility API to grab the URL of the front-most window
AXUIElementCreateSystemWide() -> kAXFocusedApplicationAttribute -> kAXMainWindowAttribute -> kAXDocumentAttribute
[1]: http://decimus.net/dterm
[2]: https://github.com/bdrister/dterm


I myself would like Atom to support DTerm as well. It’s very convenient to run scripts using DTerm without typing the whole file path.