After changing key binding to open new tab "Ctrl+shift+6" still works #7369

Closed
opened 2026-01-31 01:02:08 +00:00 by claunia · 3 comments
Owner

Originally created by @nimabokhar on GitHub (Apr 11, 2020).

#env: Microsoft Windows [Version 10.0.18363.752]
I need to issue the following sequence in an ssh session Ctrl+^but this key binding is used for "newTabProfile5"
but after changing the keymap to "ctrl+shift+0"
the old keymap still opens a new tab

Originally created by @nimabokhar on GitHub (Apr 11, 2020). #env: Microsoft Windows [Version 10.0.18363.752] I need to issue the following sequence in an ssh session Ctrl+^but this key binding is used for "newTabProfile5" but after changing the keymap to "ctrl+shift+0" the old keymap still opens a new tab
Author
Owner

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

Did you “replace” the original key binding by setting its command to "unbound", or did you just delete it? Can you share a copy of your profiles.json file?

@DHowett-MSFT commented on GitHub (Apr 11, 2020): Did you “replace” the original key binding by setting its command to `"unbound"`, or did you just delete it? Can you share a copy of your `profiles.json` file?
Author
Owner

@nimabokhar commented on GitHub (Apr 13, 2020):

I have just changed the key combination in double quotes

windows terminal config.txt

@nimabokhar commented on GitHub (Apr 13, 2020): I have just changed the key combination in double quotes [windows terminal config.txt](https://github.com/microsoft/terminal/files/4469210/windows.terminal.config.txt)
Author
Owner

@zadjii-msft commented on GitHub (Apr 13, 2020):

Wow your profiles.json is pretty old - thanks for being such an early adopter of the Terminal 😄

Your keybindings actually come from two places - both your settings file (profiles.json) and a set of defaults (which you can find here). When you changed the keybinding for "newTabProfile5" to "ctrl+shift+-", you weren't actually removing the old (default) keybinding, you were just adding a new keybinding to ctrl+shift+-.

You can unbind the default keybinding by adding the following to your profiles.json file:

            { "command": "unbound", "keys": "ctrl+shift+6" },

This will remove the default keybinding of ctrl+shift+6. You can read more in this doc.

@zadjii-msft commented on GitHub (Apr 13, 2020): Wow your `profiles.json` is pretty old - thanks for being such an early adopter of the Terminal 😄 Your keybindings actually come from two places - both your settings file (`profiles.json`) and a set of defaults (which you can find [here](https://github.com/microsoft/terminal/blob/master/src/cascadia/TerminalApp/defaults.json)). When you changed the keybinding for "newTabProfile5" to `"ctrl+shift+-"`, you weren't actually removing the old (default) keybinding, you were just adding a new keybinding to <kbd>ctrl+shift+-<kbd>. You can unbind the default keybinding by adding the following to your `profiles.json` file: ```json { "command": "unbound", "keys": "ctrl+shift+6" }, ``` This will remove the default keybinding of <kbd>ctrl+shift+6</kbd>. You can read more [in this doc](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7369