more labels for keybinds
This commit is contained in:
parent
bfffd7c555
commit
39788efd91
25
init.org
25
init.org
|
@ -1428,11 +1428,10 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files:
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook ((prog-mode markdown-mode conf-toml-mode) . copilot-mode)
|
:hook ((prog-mode markdown-mode conf-toml-mode) . copilot-mode)
|
||||||
:bind (
|
:bind (
|
||||||
("TAB" . 'copilot-accept-completion)
|
("TAB" . ("Accept Completion" . copilot-accept-completion))
|
||||||
("C-<tab>" . 'copilot-accept-completion)
|
("C-<tab>" . ("Accept Completion" . copilot-accept-completion))
|
||||||
("M-<tab>" . 'copilot-accept-completion-by-word)
|
("M-<tab>" . ("Accept Completion by word" . copilot-accept-completion-by-word))
|
||||||
("C-S-<tab>" . 'copilot-accept-completion-by-line)
|
("C-S-<tab>" . ("Accept Completion by line" . copilot-accept-completion-by-line)))
|
||||||
)
|
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -1443,21 +1442,21 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files:
|
||||||
:after (org markdown-mode)
|
:after (org markdown-mode)
|
||||||
:general
|
:general
|
||||||
(leader-def
|
(leader-def
|
||||||
"cg" #'copilot-chat-insert-commit-message
|
"cg" '("Generate commit message" . copilot-chat-insert-commit-message)
|
||||||
"cG" #'copilot-chat-regenerate-commit-message
|
"cG" '("Regenerate commit message" . copilot-chat-regenerate-commit-message)
|
||||||
"cC" #'copilot-chat-display
|
"cC" '("Open Copilot Chat" . copilot-chat-display)
|
||||||
"cba" #'copilot-chat-add-current-buffer
|
"cba" '("Add Buffer to Copilot" . copilot-chat-add-current-buffer)
|
||||||
"cbd" #'copilot-chat-del-current-buffer
|
"cbd" '("Remove Buffer from Copilot" . copilot-chat-del-current-buffer)
|
||||||
"cbw" #'copilot-chat-add-workspace
|
"cbw" '("Add Workspace to Copilot" . copilot-chat-add-workspace)
|
||||||
"cbf" #'copilot-chat-add-file
|
"cbf" #'copilot-chat-add-file
|
||||||
"cbb" #'copilot-chat-list
|
"cbb" '("List Buffers visible to Copilot" . copilot-chat-list)
|
||||||
"cch" #'copilot-chat-hide
|
"cch" #'copilot-chat-hide
|
||||||
"ccx" #'copilot-chat-reset
|
"ccx" #'copilot-chat-reset
|
||||||
"ccb" #'copilot-chat-switch-to-buffer
|
"ccb" #'copilot-chat-switch-to-buffer
|
||||||
"ccd" #'copilot-chat-doc
|
"ccd" #'copilot-chat-doc
|
||||||
"ccr" #'copilot-chat-review
|
"ccr" #'copilot-chat-review
|
||||||
"ccm" #'copilot-chat-set-model
|
"ccm" #'copilot-chat-set-model
|
||||||
"cy" #'copilot-chat-yank
|
"cy" '("Past latest code block" . copilot-chat-yank)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue