diff options
author | JSDurand <mmemmew@gmail.com> | 2022-05-26 10:20:28 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-05-26 10:20:28 +0800 |
commit | b6af39c85308452d1debca91d076a19e12fbf706 (patch) | |
tree | d357437b8c2504e06434993f7cc45843981523a5 | |
parent | baac901a8e538217ea7b0b9f475f8ea98871917a (diff) |
rust-conf: don't use C-c o
* rust-conf.el (eglot-mode-map): Bind
eglot-code-action-organize-imports to C-c C-o instead of C-c o.
-rw-r--r-- | rust-conf.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-conf.el b/rust-conf.el index df37019..05f9e7c 100644 --- a/rust-conf.el +++ b/rust-conf.el @@ -39,7 +39,7 @@ (use-package "eglot" 'eglot) (define-key eglot-mode-map (kbd "C-c r") #'eglot-rename) -(define-key eglot-mode-map (kbd "C-c o") +(define-key eglot-mode-map (vector 3 ?\C-o) #'eglot-code-action-organize-imports) (define-key eglot-mode-map (kbd "C-c h") #'eldoc) |