(Edit: VS Code, Spyder, and PyCharm do support them, but they have their own quirks.)
(Edit: VS Code, Spyder, and PyCharm do support them, but they have their own quirks.)
It supports moving the current line/region up/down (e.g., using <M-up> in Python mode that is activated for editing jupyter-python cells on <C-c '>).
I have tried emacs a couple of times over the last 20 years (spacemacs most recently) and it always made me feel stupid. I love the idea and flexibility, and it just seems so cool, but setting up the environment and config were pretty overwhelming to me.
I haven't tried it myself but perhaps it might work via widgets https://github.com/nnicandro/emacs-jupyter#building-the-widg... (my guess that might be the overwhelming part)
If all you need is TUI for Jupyter, then a minimal .emacs conf. from the link would do:
; M-x package-install RET jupyter RET
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(julia . t)
(python . t)
(jupyter . t)))I think I might add a simpler shortcut.
- Shift + Up/Down to a move line up or down
- Shift + Alt + Up/Down to a copy line up or down