From b6af39c85308452d1debca91d076a19e12fbf706 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 26 May 2022 10:20:28 +0800 Subject: 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. --- rust-conf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust-conf.el') 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) -- cgit v1.2.3-18-g5258