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

@ -45,6 +45,9 @@
(exmap "tsnip[pets]" 'narf:yas-file-templates) ; tsnip[!]
(exmap "x" 'narf:scratch-buffer)
(exmap "t[mux]" 'narf:send-to-tmux)
(exmap "tcd" (λ (narf:send-to-tmux (format "cd '%s'" default-directory))))
(after! flycheck
(exmap "er[rors]" (λ (flycheck-buffer) (flycheck-list-errors))))
@ -62,15 +65,5 @@
(exmap "k[ill]w" 'wg-kill-workgroup)
(exmap "k[ill]ow" 'narf:kill-other-workgroups))
(cond (IS-MAC
(exmap "t[erm]" 'narf:send-to-iterm)
(exmap "tcd" (λ (narf:send-to-iterm (format "cd '%s'" default-directory)))))
(IS-LINUX
(exmap "t[mux]" 'narf:send-to-tmux)
(exmap "tcd" (λ (narf:send-to-tmux (format "cd '%s'" default-directory)))))
(IS-WINDOWS
;; TODO Eshell integration
))
(provide 'my-commands)
;;; my-commands.el ends here