diff --git a/init.el b/init.el index c982ba73..ab187aa2 100644 --- a/init.el +++ b/init.el @@ -61,6 +61,14 @@ ;; find-file-in-project (setq ffip-limit 9999999999) +;; ============================================================================= +;; tmux +;; ============================================================================= + +(defun tmux-copy (&optional b e) + (interactive "r") + (shell-command-on-region b e "cat | tmux loadb -")) + ;; ============================================================================= ;; Flymake ;; =============================================================================