exa, 1 month ago @landesfeind @milesmcbain Sorry for later reply :D into .vimrc you put: vnoremap # y<C-w>w<C-w>"0<C-w>w then in vim, you start the "running terminal" using e.g. :term R and you can e.g. send a line to the termial from the editor buffer using V#, or send the whole "paragraph" (usually a code block) using vip#. Might need window/clipboard marks for more complicated setups.
@landesfeind @milesmcbain
Sorry for later reply :D
into .vimrc you put:
vnoremap # y<C-w>w<C-w>"0<C-w>w
then in vim, you start the "running terminal" using e.g. :term R
:term R
and you can e.g. send a line to the termial from the editor buffer using V#, or send the whole "paragraph" (usually a code block) using vip#.
V#
vip#
Might need window/clipboard marks for more complicated setups.