Disable copilot

This commit is contained in:
2025-03-13 15:12:59 +01:00
parent 0252beee26
commit 01e666537c
2 changed files with 10 additions and 8 deletions

3
.gitignore vendored
View File

@@ -28,4 +28,5 @@ README.el
ido.*
eln-cache
straight/
dark-mode
dark-mode
org-persist/

15
init.el
View File

@@ -162,6 +162,7 @@
;; Keybindings
(bind-key "C-x k" 'kill-buffer-with-prejudice)
(bind-key "C-w" 'kill-buffer-with-prejudice)
(bind-key "C-x C-k" 'kill-buffer-and-window)
(bind-key "M-i" 'delete-indentation)
(bind-key "C-+" 'text-scale-increase)
@@ -338,13 +339,13 @@
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
;; Copilot
(use-package copilot
:straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
:ensure 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)
(define-key copilot-completion-map (kbd "M--") 'copilot-complete)
;; (use-package copilot
;; :straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
;; :ensure 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)
;; (define-key copilot-completion-map (kbd "C-.") 'copilot-complete)
;; Elisp
(defun my-elisp-mode-hook ()