Fix ace-window in eat eshell

This commit is contained in:
Alexander Rosenberg 2024-09-20 12:03:09 -07:00
parent 269a3fa9d9
commit 69e77a7449
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

10
init.el
View File

@ -1263,7 +1263,15 @@ argument."
;; eat ;; eat
(use-package eat (use-package eat
:bind ("C-c V" . my/project-eat-or-default) :bind (("C-c V" . my/project-eat-or-default)
:map eat-mode-map
("M-o" . ace-window)
:map eat-semi-char-mode-map
("M-o" . ace-window)
:map eat-eshell-emacs-mode-map
("M-o" . ace-window)
:map eat-eshell-semi-char-mode-map
("M-o" . ace-window))
:config :config
(defvar my/project-eat-hash-table (make-hash-table :test 'equal) (defvar my/project-eat-hash-table (make-hash-table :test 'equal)
"Hash table that maps project root dirs to eat buffers.") "Hash table that maps project root dirs to eat buffers.")