After Migration all shortcuts are working, but Creating new tabs from profile 1 etc. shortcuts isn't #7736

Closed
opened 2026-01-31 01:11:29 +00:00 by claunia · 8 comments
Owner

Originally created by @jiveshwar on GitHub (Apr 28, 2020).

After Migration all shortcuts are working, but Creating new tabs from profile 1 etc. shortcuts isn't.
I placed this line which I got through Devblogs.microsoft.com - https://devblogs.microsoft.com/commandline/windows-terminal-preview-v0-11-release/

But it is not working.
{ "command": { "action": "newTab", "index": 1 }, "keys": "ctrl+shift+NUMBER" },

I had earlier shortcuts in my settings to create tabs from CTRL+SHIFT+1 and so on.
Please help

Originally created by @jiveshwar on GitHub (Apr 28, 2020). After Migration all shortcuts are working, but Creating new tabs from profile 1 etc. shortcuts isn't. I placed this line which I got through Devblogs.microsoft.com - https://devblogs.microsoft.com/commandline/windows-terminal-preview-v0-11-release/ But it is not working. { "command": { "action": "newTab", "index": 1 }, "keys": "ctrl+shift+NUMBER" }, I had earlier shortcuts in my settings to create tabs from CTRL+SHIFT+1 and so on. Please help
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 01:11:29 +00:00
Author
Owner

@jiveshwar commented on GitHub (Apr 28, 2020):

This was my previous lines.
image

@jiveshwar commented on GitHub (Apr 28, 2020): This was my previous lines. ![image](https://user-images.githubusercontent.com/7592502/80433571-ec001100-8914-11ea-865b-a2dc8e05a620.png)
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 28, 2020):

It looks like you are not using the syntax you included in your own initial comment...

"command": {"action": "newTab", "index": 0} ...

@DHowett-MSFT commented on GitHub (Apr 28, 2020): It looks like you are _not_ using the syntax you included in your own initial comment... `"command": {"action": "newTab", "index": 0} ...`
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 28, 2020):

Didn't mean to close. Sorry!

@DHowett-MSFT commented on GitHub (Apr 28, 2020): Didn't mean to close. Sorry!
Author
Owner

@jiveshwar commented on GitHub (Apr 28, 2020):

These were my previous lines.

@jiveshwar commented on GitHub (Apr 28, 2020): These were my previous lines.
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 28, 2020):

And is there some way you can share your current lines? That's somewhat important for us to help you.

@DHowett-MSFT commented on GitHub (Apr 28, 2020): And is there some way you can share your _current_ lines? That's somewhat important for us to help you.
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 28, 2020):

You need one shortcut, with a different NUMBER, for every index.

Or, you can just delete them -- ctrl+shift+### is the default shortcut for those actions.

@DHowett-MSFT commented on GitHub (Apr 28, 2020): You need one shortcut, with a different `NUMBER`, for every index. Or, you can just delete them -- ctrl+shift+### is the _default_ shortcut for those actions.
Author
Owner

@jiveshwar commented on GitHub (Apr 28, 2020):

Great. this seems working now.
Also, how can I set the default opener index after I press ALT+SHIFT+PLUS. and Left pane to right?
It is opening initial index only.

@jiveshwar commented on GitHub (Apr 28, 2020): Great. this seems working now. Also, how can I set the default opener index after I press ALT+SHIFT+PLUS. and Left pane to right? It is opening initial index only.
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 28, 2020):

You can add an "index" to the splitPane key binding just like you can to the newTab binding. You can make your own splitPane with an index or even a profile (so you can use its name.)

Like this:

{ "command": { "action": "splitPane", "profile": "PowerShell" } ... }
@DHowett-MSFT commented on GitHub (Apr 28, 2020): You can add an "index" to the `splitPane` key binding just like you can to the `newTab` binding. You can make your own `splitPane` with an `index` or even a `profile` (so you can use its name.) Like this: ``` { "command": { "action": "splitPane", "profile": "PowerShell" } ... } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7736