Default keybindings are not cancelled after modification #5288

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

Originally created by @pxl-th on GitHub (Nov 28, 2019).

Environment

Windows build number: Microsoft Windows NT 10.0.18363.0
Windows Terminal version (if applicable): 0.7.3291.0

Steps to reproduce

  • Press F11 => Terminal goes fullscreen
  • Change in settings keybindings for toggleFullscreen to any other keybinding, for example:
"keybindings": [
   {"command": "toggleFullscreen", "keys": ["alt+f"]}
]
  • Press F11 => Terminal still goes fullscreen
  • Press Alt + F => Terminal goes fullscreen

Expected behavior

  • Press F11 => Terminal goes fullscreen
  • Change in settings keybindings for toggleFullscreen to any other keybinding, for example:
"keybindings": [
   {"command": "toggleFullscreen", "keys": ["alt+f"]}
]
  • Press F11 => Terminal does not go fullscreen
  • Press Alt + F => Terminal goes fullscreen
Originally created by @pxl-th on GitHub (Nov 28, 2019). # Environment ```none Windows build number: Microsoft Windows NT 10.0.18363.0 Windows Terminal version (if applicable): 0.7.3291.0 ``` # Steps to reproduce - Press `F11` => Terminal goes fullscreen - Change in settings keybindings for `toggleFullscreen` to any other keybinding, for example: ``` "keybindings": [ {"command": "toggleFullscreen", "keys": ["alt+f"]} ] ``` - Press `F11` => Terminal **still** goes fullscreen - Press `Alt + F` => Terminal goes fullscreen # Expected behavior - Press `F11` => Terminal goes fullscreen - Change in settings keybindings for `toggleFullscreen` to any other keybinding, for example: ``` "keybindings": [ {"command": "toggleFullscreen", "keys": ["alt+f"]} ] ``` - Press `F11` => Terminal **does not** go fullscreen - Press `Alt + F` => Terminal goes fullscreen
claunia added the Needs-Tag-Fix label 2026-01-31 00:09:42 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Nov 28, 2019):

You need to unbind f11 by adding a binding with a null command. Keys are bound to commands, so user key bindings are additive.

@DHowett-MSFT commented on GitHub (Nov 28, 2019): You need to unbind `f11` by adding a binding with a `null` command. Keys are bound to commands, so user key bindings are additive.
Author
Owner

@pxl-th commented on GitHub (Nov 29, 2019):

Thanks! Didn't notice that in docs first time.

@pxl-th commented on GitHub (Nov 29, 2019): Thanks! Didn't notice that in [docs](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md) first time.
Sign in to join this conversation.
No Label Needs-Tag-Fix
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5288