LM 39610e145d feat(config): a more expressive bindings system (#666)
## 📺 PR Description

**IMPORTANT** Due to the nature of the changes this is a backwards
incompatible change

This PR reworks the already existing Action -> Bindings system in to a
more scalable system using
- Keys -> Actions
- Events -> Actions

With the new system a key or event can execute one or more actions
sequentially, for example

```toml
[keybindings]
# Zen Mode
"f1" = ["toggle_preview", "toggle_status_bar"]
```

Exposes input edit actions that we previously hard-coded

## Checklist

<!-- a quick pass through the following items to make sure you haven't
forgotten anything -->

- [x] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format
- [x] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [x] I have added a reasonable amount of documentation to the code
where appropriate
2025-07-23 21:17:42 +02:00
..