This is a simple repl integration for the helix editor. It relies on on tmux to show the repl in a separate pane and on jupyter (jupyter-console and whatever jupyter kernels you might like) to run the actual repl.
- Works with any jupyter kernel
- Code is dedented to the highest common level, so you can send python code from the middle of a function to the repl too
- No issues with multiline pieces of code or blank lines inside of a function body, it works as you'd expect it to
- Put
hepl.sh
somewhere on yourPATH
- Update your helix
config.toml
with keybinds to spawn repls and send code to the current repl - Open a tmux session
- Open helix
- Spawn a repl and enjoy
- Only one repl can be active per instance of helix, as it's currently tied to the PID of the helix process
- Currently, if you want the repl interaction not to look messy, you'll need to use jupyter/jupyter_console#274