Disable copilot
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -28,4 +28,5 @@ README.el
|
|||||||
ido.*
|
ido.*
|
||||||
eln-cache
|
eln-cache
|
||||||
straight/
|
straight/
|
||||||
dark-mode
|
dark-mode
|
||||||
|
org-persist/
|
||||||
15
init.el
15
init.el
@@ -162,6 +162,7 @@
|
|||||||
|
|
||||||
;; Keybindings
|
;; Keybindings
|
||||||
(bind-key "C-x k" 'kill-buffer-with-prejudice)
|
(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 "C-x C-k" 'kill-buffer-and-window)
|
||||||
(bind-key "M-i" 'delete-indentation)
|
(bind-key "M-i" 'delete-indentation)
|
||||||
(bind-key "C-+" 'text-scale-increase)
|
(bind-key "C-+" 'text-scale-increase)
|
||||||
@@ -338,13 +339,13 @@
|
|||||||
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
|
||||||
|
|
||||||
;; Copilot
|
;; Copilot
|
||||||
(use-package copilot
|
;; (use-package copilot
|
||||||
:straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
|
;; :straight (:host github :repo "zerolfx/copilot.el" :files ("dist" "*.el"))
|
||||||
:ensure t)
|
;; :ensure t)
|
||||||
(add-hook 'prog-mode-hook 'copilot-mode)
|
;; (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 "TAB") 'copilot-accept-completion)
|
;; (define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)
|
||||||
(define-key copilot-completion-map (kbd "M--") 'copilot-complete)
|
;; (define-key copilot-completion-map (kbd "C-.") 'copilot-complete)
|
||||||
|
|
||||||
;; Elisp
|
;; Elisp
|
||||||
(defun my-elisp-mode-hook ()
|
(defun my-elisp-mode-hook ()
|
||||||
|
|||||||
Reference in New Issue
Block a user