Reputation: 35982
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
Upvotes: 3
Views: 533
Reputation: 51613
I'm using some other shell workflow with a popup window.
Here are two similar solutions:
HTH
Upvotes: 0
Reputation: 2783
Try this in your .emacs file:
(split-window)
(other-window 1)
(shell)
(other-window 1)
Upvotes: 7
Reputation: 53694
You can record this sequence as a keyboard macro, see this answer.
Upvotes: 2