A set of functions and keymaps to make testing python code very simple from within the editing window. Only one buffer necessary, no tmux or vim-slime necessary.
<leader>rp toggles the python instance.
<leader>rf sends the whole file in normal mode.
<leader>rl sends the selected line in normal mode.
<leader>rb sends a selected block in visual mode.
The editing window and the python window are navigable between the two of them with tmux commands. By default, the python window opens below the editing window. The windows are navigable between each other using tmux commands, i.e. you should have tmux-navigator installed- but it is not strictly necessary for this to work. Just have fun moving window to window without it.
swickrotation/nvimpy.nvim
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|