Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EnsurePaneAndRun #27

Closed
christoomey opened this issue Nov 17, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@christoomey
Copy link
Owner

commented Nov 17, 2014

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.

@christoomey christoomey added this to the v0.1.0 milestone Nov 17, 2014

@christoomey

This comment has been minimized.

Copy link
Owner Author

commented Jan 3, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.