Skip to content

Commit

Permalink
fix(completion/company): fix keybind conflict with copilot-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh committed Dec 7, 2024
1 parent 8b8b657 commit c991e20
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/completion/siren-company.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@
(setq-local company-backends '(company-capf)))

:config
(global-company-mode 1))
(global-company-mode 1)

;; Disable tab and backtab keybindings in company-active-map, as they are used
;; for Copilot completion, and we have a global TAB keybinding for triggering
;; and accepting company-mode completions.
(unbind-key "TAB" company-active-map)
(unbind-key "<backtab>" company-active-map))

(use-package company-box
:if window-system
Expand Down

0 comments on commit c991e20

Please sign in to comment.