From 6058d7d114fa8c145773e553b8126f0c5fe8017e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 11 Apr 2013 10:43:40 -0700 Subject: [PATCH] Added tmux copy. --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ;; =============================================================================