-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
[Setting] New tab button should open another of the currently selected tab #445
Comments
It actually opens a new tab of whatever the We can add a setting that new tab opens a new instance of the active tab instead. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I discussed this briefly with @DHowett-MSFT today. On the surface, this seems a bit like #1536, which was implemented in #1685. However, this actually has to do with specifically the behavior of the new tab button, not just the keybinding. I'm leaving this open to track changing the behavior of the new tab button. |
Moving relevant discussion from #11337
|
pseudo-spec in progress: scenarios
proposal"newTabButton": {
"command": { /* duplicate tab */ },
"icon": "whatever",
"showDropdown": false
} So, to revisit each scenario
Y'all could be crazy people and have like, "newTabButton": {
"command": "toggleCommandPalette",
"icon": "\uE945",
"showDropdown": true
} Cause, why not? feb 2024 updates:
"newTabButton": [
{
"command": "Microsoft.Terminal.NewTab",
"icon": "+",
"menu": true
},
{
"command": "Microsoft.Terminal.CommandPalette",
"icon": "\uE945",
"menu": false
}
] and that gets us #2934 too. |
Another possibility in addition to this would be the ability to set left-/middle-/right-click options, so e.g. left-clicking the new tab button could open a cmd terminal, right-clicking could open a PS terminal, and middle-clicking a different one, all customizable in settings, of course. And if this were done, what each click does should be shown in the button's tooltip. It could even be further enhanced by opening the new tab either in the CWD or the default one depending on whether a modifier, most likely Ctrl, is used. |
What would be the best way moving forward for this feature? |
@chingucoding Sorry I missed that comment at the start of the year. Next steps here are basically:
|
Dustin: "As long as I go into the settings and hit save and a We talked for a while about
and we were fairly confident that it was good enough. Maybe there should have been some overlap between The only real sticking point: We can probably get rid of Alright so next steps: I need to write a walkthrough |
wow TIL: https://mastodon.social/@JenMsft/111528828382278248
It's absolutely the least discoverable feature I've ever seen, but I'm 100% here for "middle-click the new tab button duplicates" |
On one hand I'd probably just prefer duplicate-by-default, but on the other hand I'm a frequent user of the middle-click-refresh gesture so I could certainly get used to doing that in Windows Terminal as well. |
Your Windows build number: 10.0.18890.1000
What you're doing and what's happening: When you press the add tab button it always opens cmd.
What's wrong / what should be happening instead: It should open another of the currently viewed tab.
The text was updated successfully, but these errors were encountered: