defaults.json duplicates an entry rather than adds to an array, what is the reason? #6582

Closed
opened 2026-01-31 00:42:21 +00:00 by claunia · 2 comments
Owner

Originally created by @keithn on GitHub (Feb 22, 2020).

        { "command": "toggleFullscreen", "keys": [ "alt+enter" ] },
        { "command": "toggleFullscreen", "keys": [ "f11" ] }

looks like it should be

        { "command": "toggleFullscreen", "keys": [ "alt+enter", "f11" ] },

But there might be a reason why, but I can't find anything explaining why.

Originally created by @keithn on GitHub (Feb 22, 2020). ``` { "command": "toggleFullscreen", "keys": [ "alt+enter" ] }, { "command": "toggleFullscreen", "keys": [ "f11" ] } ``` looks like it should be ``` { "command": "toggleFullscreen", "keys": [ "alt+enter", "f11" ] }, ``` But there might be a reason why, but I can't find anything explaining why.
claunia added the Needs-TriageNeeds-Tag-FixIssue-Docs labels 2026-01-31 00:42:21 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Feb 22, 2020):

Ah, so, putting multiple keys in one array is for key chording — pressing the keys in order to do the action. Using multiple entries here is on purpose. Thanks for working to keep us honest though!

@DHowett-MSFT commented on GitHub (Feb 22, 2020): Ah, so, putting multiple keys in one array is for key _chording_ — pressing the keys in order to do the action. Using multiple entries here is on purpose. Thanks for working to keep us honest though!
Author
Owner

@keithn commented on GitHub (Feb 22, 2020):

@DHowett-MSFT is there documentation for this?, for instance I just tried

  "keybindings": [
	 { "command": "duplicateTab", "keys": [ "alt","alt","d"] }
    ]

or

 { "command": "duplicateTab", "keys": [ "shift","shift","d"] }

and it doesn't seem to work.

I'm desperately trying to find ways to use terminal without all the weird finger gymnastics all the default keybindings have. Imagine your index fingers were glued to F and J, then windows terminal is nearly impossible to use.

@keithn commented on GitHub (Feb 22, 2020): @DHowett-MSFT is there documentation for this?, for instance I just tried ``` "keybindings": [ { "command": "duplicateTab", "keys": [ "alt","alt","d"] } ] ``` or ``` { "command": "duplicateTab", "keys": [ "shift","shift","d"] } ``` and it doesn't seem to work. I'm desperately trying to find ways to use terminal without all the weird finger gymnastics all the default keybindings have. Imagine your index fingers were glued to F and J, then windows terminal is nearly impossible to use.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6582