2

Similar to this Org-mode-link-to-open-directory-in-dired, however open the link in either:

  • new terminal window (e.g. gnome-terminal, or konsole) or
  • built-in-shell-emulator-inside-emacs-buffer

I often need to run additional shell commands to run calculations or view jupyter notebooks and afaik thits is impossible from dired.

A small workaround is to open the link in dired and run M-x shell (SPC ' in spacemacs), but obviously this requires an additional step I would like to avoid.

redacted
  • 121
  • 2
  • If you just need to run shell commands, would you be open to using babel source blocks? They're re-usable and very flexible -- happy to post an example. – Gastove May 06 '16 at 18:17
  • Sure thing! I'd love to learn something new. However most of the commands are ran over ssh on remote machine + so that would only solve part of the issue and I would still prefer classical shell :) – redacted May 06 '16 at 18:34
  • Ahhh. Yeah. Babel blocks _can_ be executed over SSH, which is very handy, _but_ they aren't asynchronous -- that is, your entire org session will wind up hanging out, waiting for execution to complete. It does sound like your original idea is considerably better for your use case. Tell me: what are your links like? Do they always point to specific kinds of files? Only a specific set of directories? – Gastove May 07 '16 at 17:21

0 Answers0