summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 23:59:41 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 23:59:41 -0500
commit925b05ca4889a205e0abbdf868a39f70ced9ec49 (patch)
treec887decae27928e4208abdf0bcf36b25373e2308
parent6551b17f4735e0ca375319f07f249abefafde892 (diff)
downloaddotemacs-925b05ca4889a205e0abbdf868a39f70ced9ec49.tar.gz
dotemacs-925b05ca4889a205e0abbdf868a39f70ced9ec49.zip
chore(todo): mark M-F9 gptel-toggle refactor DONE
-rw-r--r--todo.org21
1 files changed, 19 insertions, 2 deletions
diff --git a/todo.org b/todo.org
index adb4838a..ff8691ef 100644
--- a/todo.org
+++ b/todo.org
@@ -59,8 +59,25 @@ gptel's bundled =:models= list only goes through May-2025 model IDs
but the constructor passes whatever string you supply straight to the
API, so newer model names work fine without a gptel upgrade.
-** TODO [#B] COMMENT Add gptel toggle to M-F9
-self-explatory. entirely remove what's there now (including supporting code). Update tests to match.
+** DONE [#B] Add gptel toggle to M-F9 :refactor:
+CLOSED: [2026-05-14 Thu]
+Rebound =M-<f9>= from =cj/ai-vterm-pick-buffer= to =cj/toggle-gptel=
+in both the global keymap and =vterm-mode-map=. The pick-buffer
+command and its helper =cj/--ai-vterm-pick-buffer-candidates= were
+deleted entirely along with the candidates test file.
+
+F9 family after this change:
+- =<f9>= ai-vterm toggle (unchanged)
+- =C-<f9>= ai-vterm project picker (unchanged)
+- =M-<f9>= gptel *AI-Assistant* window toggle (NEW)
+
+Two existing test files updated:
+=test-ai-vterm--f9-in-vterm.el= (binding assertions flipped to the
+new function).
+=test-ai-vterm--pick-buffer-candidates.el= deleted.
+
+Module commentary + the =cj/ai-vterm= docstring updated to describe
+the new M-F9 behavior.
** TODO [#B] Modify C-; b p
- (EWW) copy EWW url when in an EWW buffer.