Back to tmux
This commit is contained in:
parent
64c80af959
commit
6b668cee85
3 changed files with 4 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue