diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/init.el | 37 |
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 |