feat(completion/copilot): add useful keybindings when overlay is active

This commit is contained in:
2023-10-11 08:18:38 +01:00
parent 359e692d8e
commit d54f89af23

View File

@@ -21,8 +21,13 @@
("M-F" 'siren-copilot-dwim-by-word)
("M-E" 'siren-copilot-dwim-by-line)
(:keymaps 'copilot-completion-map
"C-g" 'copilot-clear-overlay
"M-N" 'copilot-next-completion
"M-P" 'copilot-previous-completion)
"M-P" 'copilot-previous-completion
"M-f" 'copilot-accept-completion-by-word
"M-<right>" 'copilot-accept-completion-by-word
"C-e" 'copilot-accept-completion-by-line
"<end>" #'copilot-accept-completion-by-line)
:custom
(copilot-auto-balance t)