When working on python code in elpy, I like to have the python shell open.
Often I don't want the *Python* buffer to be visible, especially with several buffers with Python code or long Python files open.
I found the package eshell-toggle which is basically doing the same for eshell buffers what I would find useful for the *Python* buffer.
- If eshell-toggle’d buffer is already visible in frame for current buffer then select (toggled) eshell window.
- If current window is (toggled) eshell itself then hide it.
Is there a good way to toggle the *Python* buffer?
elpy-shell-switch-to-shellanddelete-window.(switch-to-buffer "*Python*")"? Orswitch-to-buffer-other-window.