diff --git a/init.org b/init.org index 00d9107..1f25849 100644 --- a/init.org +++ b/init.org @@ -3973,9 +3973,9 @@ Visual undo history navigation. :functions (gptel-make-ollama) :bind - ((:map leader-map + (:map leader-map ("g" . gptel-menu) - ("G" . gptel))) + ("G" . gptel)) :config (setq gptel-model "llama3.1:latest") (setq gptel-backend (gptel-make-ollama "Ollama" @@ -3989,6 +3989,11 @@ Visual undo history navigation. '(cli . "You are a large language model and a correct command line helper. Provide commands and only commands as output without any additional text, prompt or note.") gptel-directives :test #'equal)) + +(use-package gptel-quick + :ensure t + :bind + (:map help-map ("," . gptel-quick))) #+end_src * Testing diff --git a/lock/flake.lock b/lock/flake.lock index e0c6bc5..49c2d30 100644 --- a/lock/flake.lock +++ b/lock/flake.lock @@ -960,6 +960,22 @@ "type": "github" } }, + "gptel-quick": { + "flake": false, + "locked": { + "lastModified": 1719624246, + "narHash": "sha256-IpH76pIP+JiwPnP+IchKIdKvJi7LuFafPQRKm5/jZ9g=", + "owner": "karthink", + "repo": "gptel-quick", + "rev": "ae3847287c2d21fb035e15b9a250191ab16463bb", + "type": "github" + }, + "original": { + "owner": "karthink", + "repo": "gptel-quick", + "type": "github" + } + }, "gradle-mode": { "flake": false, "locked": { @@ -2158,6 +2174,7 @@ "gotest": "gotest", "goto-chg": "goto-chg", "gptel": "gptel", + "gptel-quick": "gptel-quick", "gradle-mode": "gradle-mode", "groovy-mode": "groovy-mode", "grugru": "grugru", diff --git a/lock/flake.nix b/lock/flake.nix index 9208061..4c32437 100644 --- a/lock/flake.nix +++ b/lock/flake.nix @@ -359,6 +359,12 @@ repo = "gptel"; type = "github"; }; + gptel-quick = { + flake = false; + owner = "karthink"; + repo = "gptel-quick"; + type = "github"; + }; gradle-mode = { flake = false; owner = "scubacabra"; diff --git a/recipes/gptel-quick b/recipes/gptel-quick new file mode 100644 index 0000000..a2f0909 --- /dev/null +++ b/recipes/gptel-quick @@ -0,0 +1,2 @@ +(gptel-quick :fetcher github + :repo "karthink/gptel-quick")