diff --git a/config.el b/config.el index b5f9cec..3658ef3 100644 --- a/config.el +++ b/config.el @@ -153,3 +153,11 @@ lsp-ui-doc-show-with-mouse t ;; Show doc on mouse hover lsp-ui-doc-delay 0.2 ;; Delay before showing lsp-ui-doc-position 'at-point)) ;; Show at point instead of sidebar +;; accept completion from copilot and fallback to completion +(use-package! copilot + :hook (prog-mode . copilot-mode) + :bind (:map copilot-completion-map + ("" . 'copilot-accept-completion) + ("TAB" . 'copilot-accept-completion) + ("C-TAB" . 'copilot-accept-completion-by-word) + ("C-" . 'copilot-accept-completion-by-word))) diff --git a/packages.el b/packages.el index f5bf13c..ddf8ec6 100644 --- a/packages.el +++ b/packages.el @@ -51,3 +51,8 @@ (package! org-journal) (package! org-download) + +(package! editorconfig) +(package! jsonrpc) +(package! copilot + :recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el"))) diff --git a/snippets/org-mode/task.yaml b/snippets/org-mode/task.yaml new file mode 100644 index 0000000..1c76fc0 --- /dev/null +++ b/snippets/org-mode/task.yaml @@ -0,0 +1,10 @@ +* Task Description + + +* Subtasks + + +* Deadline + + +* Links