Based on kickstart.nvim.
The slime integration allows sending code cells to a Python REPL in a tmux pane.
- ON: Creates a tmux pane to the right, starts appropriate REPL, sets
<enter>to send code cells - OFF: Restores
<enter>to default, closes the tmux pane
jupyter console- if jupyter is availableipython- if ipython is availablepython- fallback
uv projects (detected by uv.lock in cwd):
- Parses
pyproject.tomlto check[project.dependencies]for jupyter/ipython - Runs commands with
uv run <command>
pip projects:
- Checks for executables in PATH via
vim.fn.executable() - Runs commands directly
Code cells are delimited by # %% comments.
after/ftplugin/python.lua- Python-specific slime toggle and keymapslua/custom/plugins/jupkern.lua- vim-slime plugin configuration