Back to tmux

This commit is contained in:
Henrik Lissner 2015-11-17 03:46:38 -05:00
parent 64c80af959
commit 6b668cee85
3 changed files with 4 additions and 27 deletions

View file

@ -12,19 +12,10 @@
(evil-define-command narf:send-to-tmux (command &optional bang)
"Sends input to tmux. Use `bang' to append to tmux"
(interactive "<term><!>")
(narf--send-to-tmux (format (if bang "C-u %s Enter" "%s")
(narf--send-to-tmux (format (if bang "%s" "C-u %s Enter")
(shell-quote-argument command)))
(when (evil-ex-p)
(message "[Tmux] %s" command)))
;;;###autoload (autoload 'narf:send-to-iterm "defuns-term" nil t)
(when IS-MAC
(evil-define-command narf:send-to-iterm (command &optional bang)
"Sends input to tmux. Use `bang' to append to tmux"
(interactive "<term><!>")
(narf-send-to-iterm command bang)
(when (evil-ex-p)
(message "[iTerm] %s" command))))
(provide 'defuns-tmux)
;;; defuns-tmux.el ends here