Maybe you can try my plugin vim-repl. It provides a convince repl environment for vim using the vim8 terminal feature.
here is the github homepage: https://github.com/sillybun/vim-repl.
To open the repl environment, just run `:REPLToggle` or you can even bind it witk key like:
```
nnoremap <leader>r :REPLToggle<Cr>
```
To interact with repl, you just select the code and press <leader>w. And the code will be transmitted to the repl environment.
Look into the github homepage for more details, it will worth your time.
Maybe you can try my plugin vim-repl. It provides a convince repl environment for vim using the vim8 terminal feature.
here is the github homepage: [vim-repl][1]
To open the repl environment, just run `:REPLToggle` or you can even bind it witk key like:
`nnoremap <leader>r :REPLToggle<Cr>`
To interact with repl, you just select the code and press `ww`. And the code will be transmitted to the repl environment.
Look into the github homepage for more details, it will worth your time.
[1]: https://github.com/sillybun/vim-repl