From 2d939609b90b6fa8bca1fe2334c9fac630afb2da Mon Sep 17 00:00:00 2001 From: Tobias Ostner Date: Sat, 10 Jan 2026 17:32:06 +0100 Subject: [PATCH] Fix copilot keybindings --- flakes/emacs/config/init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flakes/emacs/config/init.el b/flakes/emacs/config/init.el index cbdc4e1..03ea1da 100644 --- a/flakes/emacs/config/init.el +++ b/flakes/emacs/config/init.el @@ -68,10 +68,9 @@ (use-package copilot :hook (prog-mode . copilot-mode) - :bind (("C-" . copilot-accept-completion) - ("M-C-" . copilot-accept-completion-by-word) - ("C-n" . copilot-next-completion) - ("C-p" . copilot-previous-completion)) + :bind (:map copilot-completion-map + ("C-" . copilot-accept-completion) + ("M-C-" . copilot-accept-completion-by-word)) :commands (copilot-login) :custom (copilot-indent-offset-warning-disable t) :config