syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.56k stars 4.9k forks source link

Bindings to restart python shell #16389

Closed rommeswi closed 1 month ago

rommeswi commented 1 month ago

Thank you for the excellent python layer.

I noticed a minor issue: the bindings do not include a way to restart the shell conveniently. It would be natural to include these in the SPC m s bindings. E.g., SPC m s includes commands to remove unused imports or start a shell.

I would also suggest to replace the uninformative 'prefix' as the description for SPC m s by 'python-shell' or 'shell' but did not include this in the PR.