From 925b05ca4889a205e0abbdf868a39f70ced9ec49 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 May 2026 23:59:41 -0500 Subject: chore(todo): mark M-F9 gptel-toggle refactor DONE --- todo.org | 21 +++++++++++++++++++-- 1 file 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-= 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: +- == ai-vterm toggle (unchanged) +- =C-= ai-vterm project picker (unchanged) +- =M-= 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. -- cgit v1.2.3