-
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
Replace duplicateTab
with newTab
with arg
#9957
Comments
gods I hate this. I already deeply regret making "duplicate pane" an argument to I'd definitely prefer the second option, the "make a |
And the pendulum swings. 😄 |
Option 2 sounds cool |
Description of the new feature/enhancement
duplicateTab
andnewTab
are two different actions whereassplitPane
accomplishes the functionality of both "duplicate my current pane" and "open a new pane".splitPane
also lets the user useNewTerminalArgs
to customize a duplicate pane.I propose we do one of the following:
duplicateTab
:mode
arg tonewTab
. Possible values includeduplicateProfile
andduplicatePaneStructure
(see Duplicate Tab doesn't duplicate split panes #4674). Default value isnull
.duplicateTab
still exists, but is just an alias fornewTab
withmode=duplicateProfile
.NewTerminalArgs
for free and creates a consistent design across actions creating new panes and new tabs.splitPane
intosplitPane
andduplicatePane
:duplicatePane
would have 2 args:size
andsplit
(same behavior as fromsplitPane
)NewTerminalArgs
benefits.Other comments
Inspired by a comment made by @lhecker
#4674 Should be kept in mind with the new design.
I'm open to other ideas or different names for these actions/args.
Resources
duplicateTab
docsnewTab
docssplitPane
docsThe text was updated successfully, but these errors were encountered: