Rename hydra to transient, add copilot
This commit is contained in:
parent
8d81d91314
commit
9508dfa70d
10 changed files with 21 additions and 13 deletions
|
|
@ -28,9 +28,17 @@
|
|||
:after company
|
||||
:hook (((company-mode) . company-box-mode)))
|
||||
|
||||
(use-package copilot
|
||||
:straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
|
||||
:ensure t)
|
||||
|
||||
(global-company-mode t)
|
||||
(yas-global-mode t)
|
||||
|
||||
(add-hook 'prog-mode-hook 'copilot-mode)
|
||||
(define-key copilot-completion-map (kbd "<tab>") 'copilot-accept-completion)
|
||||
(define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)
|
||||
|
||||
(setq-default
|
||||
company-minimum-prefix-length 3 ;; minimum prefix character number for auto complete.
|
||||
company-idle-delay 0.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue