aboutsummaryrefslogtreecommitdiff
path: root/tests/test-org-drill-first-function.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 12:53:11 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 12:53:11 -0500
commit8aacf05b2af0de102e85645c2ad3e383ba4c2168 (patch)
tree313988cafb0755a8116cebc499a3f60cbbee0d15 /tests/test-org-drill-first-function.el
parent0b426f9e4fdb4a90db14652835490e6be0961643 (diff)
downloaddotemacs-8aacf05b2af0de102e85645c2ad3e383ba4c2168.tar.gz
dotemacs-8aacf05b2af0de102e85645c2ad3e383ba4c2168.zip
fix(ai-vterm): make F9 toggle the agent from inside an agent buffer
vterm binds `<f1>`..`<f12>` to `vterm--self-insert`, so a plain `<f9>` typed while point is in an agent buffer goes to the terminal program instead of the global toggle. That's invisible most of the time — you press F9 from another window — but it bites when the agent buffer is the only window in the frame, because there's nowhere else to press it from. I re-bound the F9 family in `vterm-mode-map` (via `with-eval-after-load 'vterm`) so that `<f9>`, `C-<f9>`, and `M-<f9>` reach `cj/ai-vterm`, `cj/ai-vterm-pick-project`, and `cj/ai-vterm-pick-buffer` from there too. The C-/M- variants aren't actually in vterm's intercept set, but binding them keeps things uniform. New `tests/test-ai-vterm--f9-in-vterm.el`: 4 ERT tests over the `vterm-mode-map` and global bindings. F12's `cj/vterm-toggle` has the same shape of bug and isn't touched here.
Diffstat (limited to 'tests/test-org-drill-first-function.el')
0 files changed, 0 insertions, 0 deletions