From 3ca393bcfddbb194104fd978c314838193e7411c Mon Sep 17 00:00:00 2001 From: John Doty Date: Sat, 17 May 2025 11:06:53 -0700 Subject: [PATCH 1/2] [emacs] Keybindings for gptel --- .emacs.d/init.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 88b316a..31ccf4e 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1423,6 +1423,10 @@ Do this when you edit your project view." (error "Key file keys.json file not found at %s" keys-file)))) (use-package gptel :ensure + :bind (:map gptel-mode-map + ("C-c C-g" . gptel-menu) + ("C-c C-t" . gptel-tools)) + :config (setq gptel-model 'claude-3-7-sonnet-20250219 ; "claude-3-opus-20240229" also available From 72cb014e808c5017a393e51618940e9d6c511a87 Mon Sep 17 00:00:00 2001 From: John Doty Date: Sun, 18 May 2025 08:14:18 -0700 Subject: [PATCH 2/2] [emacs] Fix C# language entry --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 31ccf4e..cfed9fd 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -338,7 +338,7 @@ '( (bash "https://github.com/tree-sitter/tree-sitter-bash") (cmake "https://github.com/uyha/tree-sitter-cmake") - (csharp "https://github.com/tree-sitter/tree-sitter-c-sharp") + (c-sharp "https://github.com/tree-sitter/tree-sitter-c-sharp") (css "https://github.com/tree-sitter/tree-sitter-css") (elisp "https://github.com/Wilfred/tree-sitter-elisp") (go "https://github.com/tree-sitter/tree-sitter-go")