Skip to content

[bug]: Unable to use cmd on macOS #259

@mohammadazeemwani

Description

@mohammadazeemwani

Describe the bug

Unable to use cmd | in keymap.toml config

Reproduction steps

@FedericoBruzzone I am unable to use this keymap;

========== ~/.config/tgt/keymap.toml ==========

{ keys = ["cmd+alt+1"], command = "focus_chat_list", description = "Focus the chat list"},
{ keys = ["cmd+alt+2"], command = "focus_chat", description = "Focus the chat"},
{ keys = ["cmd+alt+3"], command = "focus_prompt", description = "Focus the prompt"},

I use option for window manager already.

My ghostty config is this:

macos-option-as-alt = true

Expected behavior

I should be able to use multiple combinations and cmd key.

Logs and screenshots

No response

Method of Installation

Cargo

tgt version

1.0.0

Operating System (including version and architecture)

macOS Tahoe 26.2 arm64

Terminal and Command Line Interface (CLI) (including versions)

Ghostty 1.1.3 | zsh 5.9 (arm64-apple-darwin25.0)

rustc and rustup target (including versions)

rustc 1.93.0 (254b59607 2026-01-19) | rustup 1.28.2 (e4f3ad6f8 2025-04-28)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions