aboutsummaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorKeith Cirkel <keithamus@users.noreply.github.com>2025-10-01 02:50:46 +0100
committerGitHub <noreply@github.com>2025-09-30 21:50:46 -0400
commit7137e4f2972a5456dc37e302795d08f71894a568 (patch)
tree3dbd15d006aba7eb7d25f61914c452f6876752ca /CONTRIBUTING.md
parentfix: fish up binding (#2902) (diff)
downloadatuin-7137e4f2972a5456dc37e302795d08f71894a568.zip
feat: add various acceptance keys (#2928)
This change introduces (optional) acceptance keys of Backspace and Left Arrow, when at the start of a line. These two are common muscle memory actions for users. The configuration defaults to false so as not to disrupt existing user patterns. This also adds a test that exercises the various acceptance modes, which as it turns out was quite easy to do. I discussed this on discord where [Ellie suggested I raised an issue](https://discord.com/channels/954121165239115808/1421180955657244703/1422642337481228400), but I felt like a PR would be more tangiable. I've tested this locally and I'm very happy with how these keys work, it fits my needs well. `exit_past_line_start` and `accept_past_line_start` can technically co-exist. When this happens `accept_past_line_start` takes precedence. Is this okay, or should we reconsider the config? Perhaps `acceptance_keys = []` would be better here? I'm very open to changes here. <!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions