rhysd / reply.vim

REPLs play nicely with :terminal on Vim and Neovim
MIT License
186 stars 7 forks source link

Check whether a REPL already exists for buffer #10

Open dlukes opened 4 years ago

dlukes commented 4 years ago

Is it possible to find out whether a REPL has already been created for a given buffer? I'd like to have a mapping which either creates a new REPL for a buffer if none exists and sends a range of lines to it, or sends the range directly to an existing REPL if there is one.

shaun-floss commented 4 years ago

I was also wondering how to do this. :smile: