ob-tmux settings

This commit is contained in:
MitchMarq42 2022-11-15 10:47:09 -09:00
parent 859893113e
commit f88442f8b6

View File

@ -857,6 +857,12 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode
;; see https://www.reddit.com/r/emacs/comments/xyo2fo/orgmode_vterm_tmux/ ;; see https://www.reddit.com/r/emacs/comments/xyo2fo/orgmode_vterm_tmux/
(use-package ob-tmux (use-package ob-tmux
:after (org dash)
:config
(setq org-src-lang-modes (-replace
'("tmux" . sh)
'("tmux" . powershell)
org-src-lang-modes))
:custom :custom
(org-babel-default-header-args:tmux (org-babel-default-header-args:tmux
'((:results . "display") '((:results . "display")
@ -864,7 +870,7 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode
(:socket . nil))) (:socket . nil)))
(org-babel-tmux-session-prefix "ob-") (org-babel-tmux-session-prefix "ob-")
(org-babel-tmux-terminal "/home/mitch/.local/bin/emacs-term-shim.sh") (org-babel-tmux-terminal "/home/mitch/.local/bin/emacs-term-shim.sh")
(org-babel-tmux-terminal-opts nil)) (org-babel-tmux-terminal-opts))
(provide 'mitch-packages) (provide 'mitch-packages)
;;; mitch-packages.el ends here ;;; mitch-packages.el ends here