Skip to content

Commit

Permalink
feat(term): add mistty
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxubank committed Dec 31, 2024
1 parent e4a8de1 commit 28ab2fb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cats/+term.el
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@
(pop-to-buffer vterm-buffer (bound-and-true-p display-comint-buffer-action))
(vterm))))

(use-package mistty
:bind
(:map project-prefix-map
("M" . mistty-in-project)))

(with-eval-after-load 'project
(add-to-list 'project-switch-commands '(project-vterm "Vterm") t)
(add-to-list 'project-kill-buffer-conditions '(major-mode . vterm-mode)))
(add-to-list 'project-switch-commands '(mistty-in-project "Mistty") t)
(add-to-list 'project-kill-buffer-conditions '(major-mode . vterm-mode))
(add-to-list 'project-kill-buffer-conditions '(major-mode . mistty-mode)))

(use-package eshell-vterm
:hook (eshell-mode . eshell-vterm-mode))
Expand Down

0 comments on commit 28ab2fb

Please sign in to comment.