diff --git a/init.org b/init.org index 9172ed6..47d0f93 100644 --- a/init.org +++ b/init.org @@ -1434,12 +1434,16 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files: :straight (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")) :ensure t :hook ((prog-mode markdown-mode conf-toml-mode) . copilot-mode) - :bind ( - ("TAB" . 'copilot-accept-completion) - ("C-" . 'copilot-accept-completion) + :bind (("TAB" . 'copilot-accept-completion) ("M-" . 'copilot-accept-completion-by-word) - ("C-S-" . 'copilot-accept-completion-by-line) - ) + ("C-" . 'copilot-accept-completion) + ("C-M-" . 'copilot-accept-completion-by-line)) + :bind (:map copilot-completion-map + ("" . 'copilot-accept-completion) + ("TAB" . 'copilot-accept-completion) + ("C-" . 'copilot-accept-completion) + ("M-" . 'copilot-accept-completion-by-word) + ("C-M-" . 'copilot-accept-completion-by-line)) :config (setq copilot-indent-offset-warning-disable t copilot-max-char-warning-disable t)