branch: elpa/aidermacs commit 4eaf0d435ece2acccf0c836cb7dcfb956ba95112 Author: Kang Tu <kang...@apple.com> Commit: Kang Tu (aider) <kang...@apple.com>
chore: remove default key binding for aider-transient-menu and update README accordingly --- README.org | 6 ++++-- aider.el | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 009e417406..7dc5ef3f4d 100644 --- a/README.org +++ b/README.org @@ -11,7 +11,7 @@ * Why Use aider.el in Emacs? -- Pop-up Menu: No need to remember commands. (aider-transient-menu, bound to C-c a by default) +- Pop-up Menu: No need to remember commands. (aider-transient-menu) [[file:./transient_menu.png]] @@ -32,7 +32,9 @@ :straight (:host github :repo "tninja/aider.el") :config (setq aider-args '("--model" "gpt-4o-mini")) - (setenv "OPENAI_API_KEY" <your-openai-api-key>)) + (setenv "OPENAI_API_KEY" <your-openai-api-key>) + ;; Optional: Set a key binding for the transient menu + (global-set-key (kbd "C-c a") 'aider-transient-menu)) #+END_SRC * Screenshot diff --git a/aider.el b/aider.el index f7de42e740..45339a4f96 100644 --- a/aider.el +++ b/aider.el @@ -53,7 +53,8 @@ This function can be customized or redefined by the user." ] ]) -(global-set-key (kbd "C-c a") 'aider-transient-menu) +;; Removed the default key binding +;; (global-set-key (kbd "C-c a") 'aider-transient-menu) (defun aider-buffer-name () "Generate the Aider buffer name based on the path from the home folder to the git repo of the current active buffer using a git command.