Skip to content

[bug] keymaps should not allow conflicts #298

Closed

Description

@scottames

As of version 2.8.0 multiple keymaps can be set to the same key combination. It seems like the app silently drops one of them. Instead, the settings should error / not let a key combination that is set elsewhere be set in conflict.

Activity

  1. added
    bug
    on Jul 1, 2026
  2. adibhanna commented on Jul 1, 2026

    @adibhanna
    Contributor

    Fixed on the release/v2.9.0 branch (7781ab4) — thanks for the clear report, @scottames! 🙏

    The shortcut editor (Settings → Editing → Keymaps) now catches conflicts:

    • Recording is blocked when you assign a global shortcut that another action already owns — the recorder names the clashing action ("Already used by …") and disables Save, so you can no longer create the silent double-binding.
    • Existing clashes (including ones from a hand-edited config.toml) show a red "Conflicts with …" badge on both rows, so nothing is silent.

    One scoping note, so the behavior is clear: conflict detection is intentionally limited to global shortcuts (⌘P, ⌘1, …) — the always-active namespace where two bindings on one key genuinely shadow each other. The Vim / navigation / view-action sequences deliberately reuse keys, disambiguated at runtime by which surface is focused (e.g. x deletes in Trash but toggles a task in Tasks; l/h/o differ between table nav and sidebar nav), so those aren't flagged — otherwise the shipped defaults would false-positive. If you hit a conflict you'd expect caught outside the global shortcuts, let me know the two actions and I'll take a look.

    Ships in v2.9.0. Thanks again!

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions