Skip to content

Impossible to type "#" on Mac keyboard due to tab switching #2299

Closed

Description

@vfxdev

Impossible to type "#" on Mac keyboard due to tab switching

When trying to type "#" on a Mac keyboard (using ALT-3) tab switching is activated and "#" does not appear.

Steps to reproduce

  1. Pressing ALT-3 on a Mac keyboard

Expected behavior:

"#" appears in the text

Actual behavior:

Active tab is switched to number 3.

Versions

  • Mark Text version: 0.16.2
  • Operating system: MacOS 10.15.5

PS: Thanks to all the developers for their efforts, MarkText is awesome!

Activity

  1. ortonomy commented on Aug 12, 2020

    @ortonomy

    Came here to say this. Seems like a lovely app, but broken on MacOS as it is.

  2. ttomasini commented on Aug 12, 2020

    @ttomasini

    Until it has been fixed in shortcutHandler.js (e.g. for swiss keyboard layouts) you can just add the following snippet to your keybindings.json file:

    {
        "tabs.switch-to-first": "Cmd+1",
        "tabs.switch-to-second": "Cmd+2",
        "tabs.switch-to-third": "Cmd+3",
        "tabs.switch-to-fourth": "Cmd+4",
        "tabs.switch-to-fifth": "Cmd+5",
        "tabs.switch-to-sixth": "Cmd+6",
        "tabs.switch-to-seventh": "Cmd+7",
        "tabs.switch-to-eighth": "Cmd+8",
        "tabs.switch-to-ninth": "Cmd+9",
        "tabs.switch-to-tenth": "Cmd+0"
    }
  3. vfxdev commented on Aug 13, 2020

    @vfxdev
    Author

    Until it has been fixed in shortcutHandler.js (e.g. for swiss keyboard layouts) you can just add the following snippet to your keybindings.json file:

    {
        "tabs.switch-to-first": "Cmd+1",
        "tabs.switch-to-second": "Cmd+2",
        "tabs.switch-to-third": "Cmd+3",
        "tabs.switch-to-fourth": "Cmd+4",
        "tabs.switch-to-fifth": "Cmd+5",
        "tabs.switch-to-sixth": "Cmd+6",
        "tabs.switch-to-seventh": "Cmd+7",
        "tabs.switch-to-eighth": "Cmd+8",
        "tabs.switch-to-ninth": "Cmd+9",
        "tabs.switch-to-tenth": "Cmd+0"
    }

    That fixed it, thank you for the great workaround!

  4. MrHeer commented on Aug 14, 2020

    @MrHeer
    Contributor
  5. qihuazhong commented on Aug 18, 2020

    @qihuazhong

    Interest... I didn't know there are two versions of Mac keyboard. On my Mac Pro(2015), # is shift+3, as in the usual windows keyboard.

  6. fxha commented on Jan 4, 2022

    @fxha
    Contributor

    Thank you for reporting the issue. We noticed that this is a duplicate and closing it in favor of #2235. You may want to subscribe there for further updates.

  7. added
    🐛 bug
    🪲 pri/major
    🍏 platform/macOS
    on May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 pri/major🍏 platform/macOS🐛 bug🔭 area/editor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions