Closed christoomey closed 9 years ago
Alternately, add a bang version of each command that will ensure pane. e.g. :VtrSendCommand
expects an existing pane and errors if none is attached, while :VtrSendCommand!
will create one as needed.
Also need to update VtrSendCommand
function with an optional second argument for the ensure pane functionality (default to false).
This is currently implicit behavior of the run pane command. This feels wrong as I only want this in some cases, specifically test running. This will create an explicit command,
:EnsurePaneAndRun
and associated function, that will do this. The other commands will error if there is no runner pane.