more labels for keybinds

This commit is contained in:
Janis 2025-08-24 18:02:09 +02:00
parent bfffd7c555
commit 39788efd91

View file

@ -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-<tab>" . 'copilot-accept-completion)
("M-<tab>" . 'copilot-accept-completion-by-word)
("C-S-<tab>" . 'copilot-accept-completion-by-line)
)
("TAB" . ("Accept Completion" . copilot-accept-completion))
("C-<tab>" . ("Accept Completion" . copilot-accept-completion))
("M-<tab>" . ("Accept Completion by word" . copilot-accept-completion-by-word))
("C-S-<tab>" . ("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