Skip to content

A set of functions and keymaps to make testing python code very simple from within the editing buffer

License

Notifications You must be signed in to change notification settings

swickrotation/nvimpy.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

nvimpy.nvim

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.

About

A set of functions and keymaps to make testing python code very simple from within the editing buffer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages