Add keybinding to accept one line of copilot completion

This commit is contained in:
Jeremy Dormitzer 2024-03-27 14:51:49 -04:00
parent 0c44cc4b31
commit 3fd69b75c5
2 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,7 @@
"C-p" #'copilot-previous-completion
"C-<tab>" #'copilot-accept-completion
"C-M-<tab>" #'copilot-accept-completion-by-word
"C-S-<tab>" #'copilot-accept-completion-by-line
"C-g" #'copilot-clear-overlay))
;; Debugger interface

View File

@ -26,5 +26,6 @@
(add-hook 'after-init-hook #'theme-timer-hook)
(unbind-key "C-<tab>" global-map)
(unbind-key "C-S-<tab>" global-map)
(provide 'init-mac)