3 ms·
I would love to know more about it, I know about as little as it's possible to know about emacs while having also used it. If you have anything more guided than
by ouid 5y ago
I would love to know more about it, I know about as little as it's possible to know about emacs while having also used it. If you have anything more guided than me just doing a google search, please share!
- Jeff_Brown 5y agoHere is the page about Tmux from the public portion of my knowledge graph: https://github.com/JeffreyBenjaminBrown/notes-in-org-format-on-tech/blob/master/tmux_software.org https://github.com/JeffreyBenjaminBrown/notes-in-org-format-... See in particular the passage "send text to a tmux session|window|pane". In Emacs, `M-x desktop-save` and `M-x desktop-change-dir` will let you save your session state and restore from a saved state. Also handy is the command `process-send-string`. I use it in the below (from my .emacs config[1]) to mark one buffer as the "receiving GHCI buffer" and then send text from another buffer to be evaluated in that one. ;; https://emacs.stackexchange.com/a/37889 (defun mark-receiving-ghci-buffer () (interactive) (setq receiving-ghci-buffer (buffer-name))) (defun send-highlighted-region-to-receiving-ghci-buffer (beg end) (interactive "r") (process-send-string receiving-ghci-buffer ":{\n") (process-send-region receiving-ghci-buffer beg end) (process-send-string receiving-ghci-buffer "\n:}\n")) (global-set-key ( kbd "C-c s") ( lambda () (interactive) (send-highlighted-region-to-receiving-ghci-buffer) ) ) [1] https://github.com/JeffreyBenjaminBrown/play/blob/master/dot-emacs.el https://github.com/JeffreyBenjaminBrown/play/blob/master/dot...