Add copilot
This commit is contained in:
parent
1af6aa58d2
commit
9dfffe3654
@ -230,6 +230,18 @@
|
||||
:general
|
||||
("C-c f" #'apheleia-format-buffer))
|
||||
|
||||
;; AI assistance
|
||||
(use-package copilot
|
||||
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el"))
|
||||
:hook (prog-mode . copilot-mode)
|
||||
:general
|
||||
(prog-mode-map "C-c <tab>" #'copilot-complete)
|
||||
(copilot-completion-map "C-n" #'copilot-next-completion
|
||||
"C-p" #'copilot-previous-completion
|
||||
"C-<tab>" #'copilot-accept-completion
|
||||
"C-M-<tab>" #'copilot-accept-completion-by-word
|
||||
"C-g" #'copilot-clear-overlay))
|
||||
|
||||
;; Debugger interface
|
||||
(use-package realgud
|
||||
:defer t)
|
||||
|
Loading…
Reference in New Issue
Block a user