mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-03 05:53:46 +01:00
copilot.el
This commit is contained in:
@@ -130,3 +130,15 @@
|
||||
(map! :leader "pv" #'dirvish)
|
||||
|
||||
(map! [f5] #'+make/run-last)
|
||||
|
||||
|
||||
;; accept completion from copilot and fallback to company
|
||||
(use-package! copilot
|
||||
:hook (prog-mode . copilot-mode)
|
||||
:bind (:map copilot-completion-map
|
||||
("<tab>" . 'copilot-accept-completion)
|
||||
("TAB" . 'copilot-accept-completion)
|
||||
("C-TAB" . 'copilot-accept-completion-by-word)
|
||||
("C-<tab>" . 'copilot-accept-completion-by-word)))
|
||||
|
||||
;; (add-to-list 'copilot-major-mode-alist '("typescript" . "javascript"))
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
;;layout ; auie,ctsrnm is the superior home row
|
||||
|
||||
:completion
|
||||
company ; the ultimate code completion backend
|
||||
(company +childframe) ; the ultimate code completion backend
|
||||
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||
;;helm ; the *other* search engine for love and life
|
||||
;;ido ; the other *other* search engine...
|
||||
|
||||
@@ -67,3 +67,9 @@
|
||||
(package! unity
|
||||
:recipe (:repo "https://github.com/elizagamedev/unity.el"))
|
||||
(add-hook 'after-init-hook #'unity-mode)
|
||||
|
||||
(package! jsonrpc)
|
||||
|
||||
(package! copilot
|
||||
:recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user