about summary refs log tree commit diff
path: root/modules/workstation/emacs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-12-04 15:17:50 +0000
committerAlyssa Ross <hi@alyssa.is>2020-12-04 16:59:52 +0000
commit464936eda94fc1bec77d70b5a9593f56fc42ecc4 (patch)
treebfc5be24d96b81790e1ec8c0d37bf1175271c9ef /modules/workstation/emacs
parent1573d493b94af71faab6035f3d35e21e22a4f343 (diff)
downloadnixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.tar
nixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.tar.gz
nixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.tar.bz2
nixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.tar.lz
nixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.tar.xz
nixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.tar.zst
nixlib-464936eda94fc1bec77d70b5a9593f56fc42ecc4.zip
modules/emacs: bind rust-check to C-c c c
Diffstat (limited to 'modules/workstation/emacs')
-rw-r--r--modules/workstation/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el
index 805eed336f5a..e09d92863e24 100644
--- a/modules/workstation/emacs/init.el
+++ b/modules/workstation/emacs/init.el
@@ -107,6 +107,7 @@
 (with-eval-after-load 'rust-mode
   ;; Cargo keybindings
   (define-key rust-mode-map (kbd "C-c c b") 'rust-compile)
+  (define-key rust-mode-map (kbd "C-c c c") 'rust-check)
   (define-key rust-mode-map (kbd "C-c c r") 'rust-run)
   (define-key rust-mode-map (kbd "C-c c t") 'rust-test))