Skip to content

feat(config): report keybinding conflicts#358

Merged
jongio merged 2 commits into
mainfrom
idea/config-check-keybindings
Jul 21, 2026
Merged

feat(config): report keybinding conflicts#358
jongio merged 2 commits into
mainfrom
idea/config-check-keybindings

Conversation

@jongio

@jongio jongio commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Adds keybinding conflict checks to grut config check. The command now loads the active keybinding scheme, prints duplicate key/action conflicts, and exits non-zero when collisions are present.

Closes #355

Validation:

  • go build ./...
  • go test ./cmd ./internal/keymap -count=1
  • go test ./... -count=1
  • go vet ./...

Note: mage testWSL was attempted, but the WSL update tests hit an unrelated existing /home/jong/.config/grut/grut-update.lock.

Checks the active keybinding scheme during config validation and prints conflicts with their bound actions.

Closes #355

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jongio jongio added the idea Feature idea from the idea pipeline label Jul 20, 2026
@jongio jongio self-assigned this Jul 20, 2026
… constants

Merges main into config-check branch, resolves the config.go keep-both conflict, and fixes pre-existing goconst failures (default scheme, CERTIFICATE PEM type) that were failing CI on main.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e1e7a2e9-8a0a-42dc-be96-9ac694fc55c5
@jongio
jongio merged commit 16cad86 into main Jul 21, 2026
4 checks passed
@jongio
jongio deleted the idea/config-check-keybindings branch July 21, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idea Feature idea from the idea pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show keybinding conflicts in config check

1 participant