From 3f1071bc6f647b444acb672ca6123c2e2765e5fb Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 21 Aug 2024 20:30:25 +0300 Subject: emacs: Add eat & comment out vterm. --- .config/emacs/init.el | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) (limited to '.config/emacs/init.el') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 8c44700..5411c67 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -715,16 +715,33 @@ (global-flycheck-mode) :hook ((emacs-lisp-mode . (lambda () (flycheck-mode) (flycheck-package-setup))))) -;; Shells -(use-package vterm - :straight nil - :ensure nil - :bind (("C-c v" . vterm) - :map vterm-mode-map - ("M-&" . 'async-shell-command) - ("C-c C-y" . 'vterm-copy-mode)) - :hook - ((vterm-mode . (lambda () (display-line-numbers-mode -1))))) +;; ;; Shells +;; (use-package vterm +;; :straight nil +;; :ensure nil +;; :bind (("C-c v" . vterm) +;; :map vterm-mode-map +;; ("M-&" . 'async-shell-command) +;; ("C-c C-y" . 'vterm-copy-mode)) +;; :hook +;; ((vterm-mode . (lambda () (display-line-numbers-mode -1))))) +(use-package eat + :straight '(eat :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 + (setf eshell-visual-commands nil) + :bind (("C-c v" . eat)) + :hook ((eshell-mode . eat-eshell-mode) + (eshell-mode . eat-eshell-visual-command-mode) + ;; (eat-mode . (lambda () (when (bound-and-true-p display-line-numbers-mode) + ;; (display-line-numbers-mode -1)))) + )) (use-package shell :defer t -- cgit v1.2.3