fix copilot keybinds
This commit is contained in:
parent
13b38d3275
commit
a476ecd820
10
init.org
10
init.org
|
|
@ -1434,12 +1434,16 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files:
|
|||
:straight (:host github :repo "copilot-emacs/copilot.el" :files ("*.el"))
|
||||
:ensure t
|
||||
:hook ((prog-mode markdown-mode conf-toml-mode) . copilot-mode)
|
||||
:bind (
|
||||
:bind (("TAB" . 'copilot-accept-completion)
|
||||
("M-<tab>" . 'copilot-accept-completion-by-word)
|
||||
("C-<tab>" . 'copilot-accept-completion)
|
||||
("C-M-<tab>" . 'copilot-accept-completion-by-line))
|
||||
:bind (:map copilot-completion-map
|
||||
("<tab>" . 'copilot-accept-completion)
|
||||
("TAB" . 'copilot-accept-completion)
|
||||
("C-<tab>" . 'copilot-accept-completion)
|
||||
("M-<tab>" . 'copilot-accept-completion-by-word)
|
||||
("C-S-<tab>" . 'copilot-accept-completion-by-line)
|
||||
)
|
||||
("C-M-<tab>" . 'copilot-accept-completion-by-line))
|
||||
:config
|
||||
(setq copilot-indent-offset-warning-disable t
|
||||
copilot-max-char-warning-disable t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue