mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Improve popup compatibility for eshell & multi-term
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
(defvar +eshell-buffers ()
|
||||
"List of open eshell buffers.")
|
||||
|
||||
(defvar +eshell-buffer-name "*doom:eshell*"
|
||||
(defvar +eshell-buffer-name "*doom eshell*"
|
||||
"The name to use for custom eshell buffers. This only affects `+eshell/open',
|
||||
`+eshell/open-popup' and `+eshell/open-workspace'.")
|
||||
|
||||
|
@ -60,11 +60,8 @@ redefines its keys every time `eshell-mode' is enabled."
|
||||
:i "C-n" #'eshell-next-input
|
||||
:i "<down>" #'eshell-next-input
|
||||
:m "<return>" #'+eshell/evil-append
|
||||
:n [remap evil-window-split] #'+eshell/split
|
||||
:n [remap evil-window-vsplit] #'+eshell/vsplit
|
||||
:n [remap evil-record-macro] #'eshell-life-is-too-much
|
||||
[remap kill-this-buffer] #'eshell-life-is-too-much
|
||||
[remap +workspace/close-window-or-workspace] #'eshell-life-is-too-much))
|
||||
[remap kill-this-buffer] #'eshell-life-is-too-much))
|
||||
(add-hook 'eshell-mode-hook #'+eshell|init-keymap)
|
||||
|
||||
;; Aliases
|
||||
|
@ -4,4 +4,5 @@
|
||||
:commands (multi-term multi-term-next multi-term-prev)
|
||||
:config
|
||||
(setq multi-term-program (getenv "SHELL")
|
||||
multi-term-dedicated-window-height 20
|
||||
multi-term-switch-after-close 'PREVIOUS))
|
||||
|
Reference in New Issue
Block a user