Think: tiling my emacs window with eshells, a la xmonad. Is this possible? I can M-x eshell to open the first eshell instance but future invocations just focus the first instance.
You can do this:
`C-u M-x eshell`
This will create *eshell*
, *eshell*<2>
, and so on.
My preferred approach is to create named shells:
(defun make-shell (name)
"Create a shell buffer named NAME."
(interactive "sName: ")
(setq name (concat "$" name))
(eshell)
(rename-buffer name))
is the gist. Then M-x make-shell name
will create the desired shell.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With