aboutsummaryrefslogtreecommitdiffstats
path: root/configuration.el
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2024-01-22 21:44:35 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2024-01-22 21:44:35 -0300
commitd4b776d609aa85ae4bcc69085bcdfe0644ad9a66 (patch)
tree9cebe1d30cb0f77fdf2a088ee28227147e1e9f31 /configuration.el
parent3f39dc344e28a88d2ccc84574351c844c56a5329 (diff)
downloadMageMacs-d4b776d609aa85ae4bcc69085bcdfe0644ad9a66.tar.gz
MageMacs-d4b776d609aa85ae4bcc69085bcdfe0644ad9a66.zip
add copilot configuration
Diffstat (limited to '')
-rw-r--r--configuration.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/configuration.el b/configuration.el
index 177ec25..6f2d355 100644
--- a/configuration.el
+++ b/configuration.el
@@ -159,5 +159,13 @@
(use-package transpose-frame
:straight t)
+(use-package copilot
+ :straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
+ :hook (prog-mode . copilot-mode)
+ :bind (:map copilot-mode-map
+ ("C-q <tab>" . copilot-accept-completion)
+ ("C-q <right>" . copilot-next-completion)
+ ("C-q <left>" . copilot-previous-completion)))
+
(provide 'configuration)
;;; configuration.el ends here