Skip to content

Commit

Permalink
feat: add keybinding for copilot.
Browse files Browse the repository at this point in the history
  • Loading branch information
Panadestein committed Jan 29, 2025
1 parent 3fcffff commit 4510abe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion content/index.org
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,15 @@ We also add support for Copilot, which for certain languages is a good boilerpla

#+begin_src emacs-lisp
(use-package copilot
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))
:straight (
:host github
:repo "copilot-emacs/copilot.el"
:files ("*.el"))
: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)))
#+end_src

* File browsing, terminal emulators, and web browsing
Expand Down

0 comments on commit 4510abe

Please sign in to comment.