# Resolve keybinding precedence across commands · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/1c80b4f1fef5c46a93af6ecdaa5fd6fbf3a431fb)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: 1c80b4f1fef5c46a93af6ecdaa5fd6fbf3a431fb

Requested commit: 1c80b4f1fef5c46a93af6ecdaa5fd6fbf3a431fb

Commit: 1c80b4f1fef5c46a93af6ecdaa5fd6fbf3a431fb

Tree: 9b1b89e629ce9a2235fc843bad6dc02ecea03966

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Resolve keybinding precedence across commands

- Evaluate shortcut matches by resolving the last matching key+when rule, regardless of command
- Add cross-command precedence tests and switch assertions to `vitest` `assert`
- Clarify precedence behavior in `KEYBINDINGS.md`

```

## Parents

- [5fac591417e0dba9945b0b1b29b175f8128449c2](https://git.cafe/flambo/t3code/commit/5fac591417e0dba9945b0b1b29b175f8128449c2?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/1c80b4f1fef5c46a93af6ecdaa5fd6fbf3a431fb?format=markdown)
