Replace vterm with eat

This commit is contained in:
Dimitri Lozeve 2023-11-18 15:45:26 +01:00
parent 18bf25e719
commit c3f3158519

15
init.el
View file

@ -952,13 +952,16 @@
(("C-c e" . hledger-jentry) (("C-c e" . hledger-jentry)
("C-c j" . hledger-run-command))) ("C-c j" . hledger-run-command)))
(use-package vterm (use-package eat
:straight t :straight (:type git :host codeberg :repo "akib/emacs-eat"
:files ("*.el" ("term" "term/*.el") "*.texi"
"*.ti" ("terminfo/e" "terminfo/e/*")
("terminfo/65" "terminfo/65/*")
("integration" "integration/*")
(:exclude ".dir-locals.el" "*-tests.el")))
:config :config
(setq vterm-kill-buffer-on-exit t) (global-set-key (kbd "C-x RET RET") 'eat-other-window)
(global-set-key (kbd "C-x RET RET") 'vterm-other-window) (global-set-key (kbd "C-x p RET") 'eat-project-other-window))
(define-key vterm-mode-map (kbd "<C-backspace>")
(lambda () (interactive) (vterm-send-key (kbd "C-w")))))
(use-package mu4e (use-package mu4e
:straight (:type git :host github :repo "djcb/mu" :straight (:type git :host github :repo "djcb/mu"