feat(shell/eat): improve eat configuration
This commit enables eat-mode in Eshell, allowing the use of tools that normally would not work in Eshell. It also automatically closes the eat buffer when exiting the shell instead of keeping it open.
This commit is contained in:
parent
b330e1c7e0
commit
7a7700855f
@ -116,11 +116,11 @@ Here are my apps keybindings. Each one of them is prefixed by ~a~.
|
|||||||
*** Shell apps
|
*** Shell apps
|
||||||
I also have two main shell-related functions, prefixed with ~as~.
|
I also have two main shell-related functions, prefixed with ~as~.
|
||||||
#+name: keybindings-apps-shell
|
#+name: keybindings-apps-shell
|
||||||
| Key | Function | Description | Package |
|
| Key | Function | Description | Package |
|
||||||
|-----+-------------+-------------+-------------|
|
|-----+------------+-------------+---------|
|
||||||
| | | shells | |
|
| | | shells | |
|
||||||
| e | eshell-new | | |
|
| e | eshell-new | | |
|
||||||
| t | eat | | eat |
|
| t | eat | | eat |
|
||||||
|
|
||||||
*** Treemacs
|
*** Treemacs
|
||||||
#+name: keybindings-treemacs
|
#+name: keybindings-treemacs
|
||||||
|
@ -1555,7 +1555,12 @@ for VTerm as I never got VTerm to actually work on NixOS.
|
|||||||
"*.ti" ("terminfo/e" "terminfo/e/*")
|
"*.ti" ("terminfo/e" "terminfo/e/*")
|
||||||
("terminfo/65" "terminfo/65/*")
|
("terminfo/65" "terminfo/65/*")
|
||||||
("integration" "integration/*")
|
("integration" "integration/*")
|
||||||
(:exclude ".dir-locals.el" "*-tests.el"))))
|
(:exclude ".dir-locals.el" "*-tests.el")))
|
||||||
|
:init
|
||||||
|
(add-hook 'eshell-load-hook #'eat-eshell-mode)
|
||||||
|
(eat-eshell-mode 1)
|
||||||
|
:config
|
||||||
|
(add-hook 'eat-exit-hook #'kill-this-buffer))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Shell-pop
|
*** Shell-pop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user