Add modules/tools/tmux

This commit is contained in:
Henrik Lissner 2017-02-19 18:55:00 -05:00
parent 6bd08e2a96
commit f0b5f1a12b
2 changed files with 156 additions and 0 deletions

View file

@ -0,0 +1,14 @@
;;; extra/tmux/autoload/evil.el
;;;###autoload (autoload '+tmux:run "extra/tmux/autoload/evil" nil t)
(evil-define-command +tmux:run (command bang)
(interactive "<fsh><!>")
(+tmux/run command bang))
;;;###autoload (autoload '+tmux:cd-here "extra/tmux/autoload/evil" nil t)
(evil-define-command +tmux:cd-here (bang)
(interactive "<!>")
(if bang
(+tmux/cd-to-here)
(+tmux/cd-to-project)))