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.
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.