I am running a full-screen tmux, split into two panes. The left pane runs vim, where I edit Python files. The right pane runs a Python interpreter.
I would like to be able to highlight multiple lines in vim (Shift+V), then using some shortcut key, send these lines to the running Python interpreter on the other pane.
Is there some vim plugin that does this?
This functionality is similar to that in Spyder, where you can highlight multiple lines, right-click, then send those lines to the active interpreter within Spyder. I hesitate moving to Spyder because my muscle memory is already heavily invested in vim and tmux (keeping hands on the keyboard and all that).
You probaly want
vimux
: https://github.com/benmills/vimuxFrom the documentation: