News for hackers. Stuff that matters.
Re:Using Emacs as $Editor by jrockway on Monday October 02, 2023 @03:57PM (#37743616)
I also do this, C-x t to open a tmux tab to whatever directory the current buffer is:

  (defun tmux-here ()
    (interactive)
    (if (not (eq (getenv "TMUX") ""))
        (shell-command (format "tmux new-window -c %s" default-directory))
      (error "Not inside a tmux session.")))
I know, I know, tmux is slow and should never be used. I like it, OK.

There are no comments on this comment yet.