Skip to main content
1 of 2

emacs home made perspective: source + eshell + compilation

I want such functionality from emacs (gnu 25), I press key in any buffer with source code, and instead of one buffer I got 3 buffers on the screen:

source code buffer
------------------
*eshell* | *compilation*

*eshell* should be created if not exists, and if no *compilation* buffer around, should *scratch* be shown, but should be replaced with *compilation* after first compilation.

I read about sessions, but as I understand it was not I want. I want this windows split for any source code buffers, not for specific, that I save in session and restore from session.

How can I achieve, any known extension/package with such functionality?