[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode aadd1dd: add more commands to rust-mode-map
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode aadd1dd: add more commands to rust-mode-map |
Date: |
Tue, 16 Nov 2021 15:58:01 -0500 (EST) |
branch: elpa/rust-mode
commit aadd1dd8f0780692aea1637569aeadfa8f78fd5a
Author: brotzeit <brotzeitmacher@gmail.com>
Commit: brotzeit <brotzeitmacher@gmail.com>
add more commands to rust-mode-map
---
rust-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/rust-mode.el b/rust-mode.el
index 7567ce2..15f536e 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -200,6 +200,11 @@ Use idomenu (imenu with `ido-mode') for best mileage.")
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-c C-d") 'rust-dbg-wrap-or-unwrap)
(when rust-load-optional-libraries
+ (define-key map (kbd "C-c C-c C-u") 'rust-compile)
+ (define-key map (kbd "C-c C-c C-k") 'rust-check)
+ (define-key map (kbd "C-c C-c C-t") 'rust-test)
+ (define-key map (kbd "C-c C-c C-r") 'rust-run)
+ (define-key map (kbd "C-c C-c C-l") 'rust-run-clippy)
(define-key map (kbd "C-c C-f") 'rust-format-buffer)
(define-key map (kbd "C-c C-n") 'rust-goto-format-problem))
map)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/rust-mode aadd1dd: add more commands to rust-mode-map,
ELPA Syncer <=