diff --git a/emacs/.emacs.d/config/init-ai.el b/emacs/.emacs.d/config/init-ai.el index 74adce7..47f2cb3 100644 --- a/emacs/.emacs.d/config/init-ai.el +++ b/emacs/.emacs.d/config/init-ai.el @@ -67,6 +67,9 @@ :stream t :system "You are a professional software engineer."))) +(with-eval-after-load 'git-commit + (keymap-set git-commit-mode-map "C-c RET" #'gptel-commit-message)) + (use-package llama :straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil) :load-path "packages/llama"