-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Drag entries from the new tab menu to create panes #9229
Comments
That's really clever. I don't think we can pull it off, but it's very clever. I like it. Right now, the predominant ways to achieve what you're looking for are via the command palette (ctrl+shift+p, "Split pane ..." > Profile > Direction) or custom bindings. It's possible to override the default bindings for alt+shift+- and alt+shift+= to use the "duplicate" split mode. More info here on the split pane docs. Does that help? |
Admittedly, I wasn't aware of the command palette, so that's good to know for general purposes
I'm mostly interested in duplicating panes anyway, so this is very helpful. Thank you! |
It sounds like the command palette and the "duplicate pane" options generally fit your other needs. I'm going to leave this open to track the last part of your request -
Because that's a unique ask that I don't think we've heard before. #4587 is vaguely similar, but with a tab itself, not the dropdown entry. |
As I am aware, creating a new pane is currently possible via the [Alt]+[Shift]+[-/=] shortcuts, which allow the user to decide how the existing pane will be split but always use the default profile for the new pane, or by [Alt]+[LMB] clicking on the dropdown menu, which allows a specific profile to be selected but splits the pane automatically.
I think the ability to select both the profile and the orientation of new panes would be desirable. I propose a number of possible approaches:
Creating new horizontal/vertical panes from the dropdown via [Alt]+[-/=]+[LMB] or simply [LMB/RMB] respectively.
A global setting along the lines of 'useCurrentProfile' that would make the [Alt]+[Shift]+[-/=] shortcuts use the profile of the current pane rather than the default one. This doesn't quite allow the selection of any profile, but still covers an important use case.
Dragging profile names from the dropdown menu to the desired position of the new pane with some sort of dynamic preview of how the panes will be split. The most user-friendly and visually pleasing option, but perhaps harder to implement.
The text was updated successfully, but these errors were encountered: