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

VimuxPromptCommand does not open a new split if there is an ongoing process in a different split #199

Open
benediktms opened this issue Jul 10, 2021 · 5 comments

Comments

@benediktms
Copy link

The VimuxPromptCommand does not create a new horizontal split below vim, if there is already a split open that has an ongoing process. Probably the best example of this would be starting a some sort of development server and having vim open in the second pane.

@alerque
Copy link
Member

alerque commented Jul 10, 2021

Are you talking about some split you opened manually or a previous one created by Vimux automatically?

@benediktms
Copy link
Author

@alerque This is a split I opened manually

@alerque
Copy link
Member

alerque commented Jul 10, 2021

Okay I see what you mean. My usage is usually either to manage splits myself or let this do it for me in a dedicated window, but not mix and match like that.

I'd be happy to facilitate some kind of fix for this is somebody comes up with a PR, but it might be a while before I get around to it myself.

There is already a mechanism for using a specific pane name, what this probably entails is setting up the default to something the user won't have running already and checking for it even when a custom name is not specified. This may or make not make sense as the default but at least as a configuration option I'd be fine with including it to cover this usage scenario.

Care to take a stab at it yourself?

@benediktms
Copy link
Author

@alerque I would be to be quite honest my knowledge with vimscript is extremely superficial (basically just enough to be able to manage my configs) :(

@alerque
Copy link
Member

alerque commented Jul 10, 2021

Fair enough. I guess we can hope somebody else sees this and feel like diving in...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants