Skip to content

Can't toggle mark mode using the keyboard shortcut (Ctrl+Shift+M) / mark mode disappeared? #19765

@bigtanuki64

Description

@bigtanuki64

Windows Terminal version

1.23.13503.0

Windows build number

10.0.26200.0

Other Software

No response

Steps to reproduce

  • remove settings.json to have it regenerated by WT
  • open WT
  • try pressing ctrl+shift+m
  • nothing happens

You could also try adding this to your config (below config is abbreviated):

    "actions":
    [
        {
            "command": "toggleMarkMode",
            "id": "Terminal.ToggleMarkMode"
        }
    ],
    "keybindings": 
    [
        {
            "id": "Terminal.ToggleMarkMode",
            "keys": "ctrl+shift+m"
        }
    ],

Expected Behavior

I expect mark mode to be toggled by the default keyboard shortcut. It is bound by default in Settings -> Actions -> Toggle mark mode: ctrl+shift+m.

Oh and also, the docs aren't up to date from what I can see. I was unable to add "toggleMarkMode" to the actions array in settings.json like this:

    "actions":
    [
        {
            "command":
            {
                "action": "toggleMarkMode",
                "input": "",
                "keys": "ctrl+shift+m"
            }
        }
    ],

In fact, "toggleMarkMode" doesn't show up in vscode's autocomplete anymore, like the other settings do.

Actual Behavior

Nothing. I am able to toggle mark mode by opening the command palette and searching for "toggle mark mode" however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions