diff --git a/init.org b/init.org index cd5048e..c2d3d7c 100644 --- a/init.org +++ b/init.org @@ -1428,11 +1428,10 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files: :ensure t :hook ((prog-mode markdown-mode conf-toml-mode) . copilot-mode) :bind ( - ("TAB" . 'copilot-accept-completion) - ("C-" . 'copilot-accept-completion) - ("M-" . 'copilot-accept-completion-by-word) - ("C-S-" . 'copilot-accept-completion-by-line) - ) + ("TAB" . ("Accept Completion" . copilot-accept-completion)) + ("C-" . ("Accept Completion" . copilot-accept-completion)) + ("M-" . ("Accept Completion by word" . copilot-accept-completion-by-word)) + ("C-S-" . ("Accept Completion by line" . copilot-accept-completion-by-line))) ) #+end_src @@ -1443,21 +1442,21 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files: :after (org markdown-mode) :general (leader-def - "cg" #'copilot-chat-insert-commit-message - "cG" #'copilot-chat-regenerate-commit-message - "cC" #'copilot-chat-display - "cba" #'copilot-chat-add-current-buffer - "cbd" #'copilot-chat-del-current-buffer - "cbw" #'copilot-chat-add-workspace + "cg" '("Generate commit message" . copilot-chat-insert-commit-message) + "cG" '("Regenerate commit message" . copilot-chat-regenerate-commit-message) + "cC" '("Open Copilot Chat" . copilot-chat-display) + "cba" '("Add Buffer to Copilot" . copilot-chat-add-current-buffer) + "cbd" '("Remove Buffer from Copilot" . copilot-chat-del-current-buffer) + "cbw" '("Add Workspace to Copilot" . copilot-chat-add-workspace) "cbf" #'copilot-chat-add-file - "cbb" #'copilot-chat-list + "cbb" '("List Buffers visible to Copilot" . copilot-chat-list) "cch" #'copilot-chat-hide "ccx" #'copilot-chat-reset "ccb" #'copilot-chat-switch-to-buffer "ccd" #'copilot-chat-doc "ccr" #'copilot-chat-review "ccm" #'copilot-chat-set-model - "cy" #'copilot-chat-yank + "cy" '("Past latest code block" . copilot-chat-yank) ) ) #+end_src