Edit Jupyter notebooks in Neovim by embedding the euporie TUI.
- Neovim >= 0.8.0
- euporie installed (see installation docs)
Using packer:
use 'bxrne/euporie.nvim'Using lazy:
{ 'bxrne/euporie.nvim' }Open a Jupyter notebook with:
:Notebook
This opens euporie-notebook in a Neovim terminal buffer, sets the buffer name to "euporie (buffer number)", and enters insert mode.
require('euporie').setup({
path = ".", -- Directory to open the notebook session in
graphics_dpi = 300, -- DPI for graphics rendering (default: 300)
graphics_height = 40 -- Maximum graphics height in pixels (default: 40)
})path(string): Directory to open the notebook session in. Default:"."graphics_dpi(number): DPI for graphics rendering. Higher values produce sharper images but may use more resources. Default:300graphics_height(number): Maximum graphics height in pixels. Default:40
- Terminal integration for euporie TUI
- Automatic buffer naming
- Seamless insert mode entry