After loading emacs, I always run the following command to setup the work environment:
1> C-x 2 to split the window as two buffers
2> C-x o to move cursor to the new created buffer
3> M-x eshell to enter shell mode
4> C-x o to move back to the original buffer.
Question> Is there a way that I can do all these automatically or at least make it little easier.
Thank you
Try this in your .emacs file:
(split-window)
(other-window 1)
(shell)
(other-window 1)
You can record this sequence as a keyboard macro, see this answer.
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