summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-08-21 20:30:25 +0300
committerThanos Apollo <[email protected]>2024-08-21 20:30:25 +0300
commit3f1071bc6f647b444acb672ca6123c2e2765e5fb (patch)
treea59a915070ae32bd50f36c57d806d4a1a23b14b1 /.config/emacs
parent38ce4b39a59937a84f4eeedf406b253c072b1a16 (diff)
emacs: Add eat & comment out vterm.
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el37
1 files changed, 27 insertions, 10 deletions
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