summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-programming.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index c26fa45..f60dbc9 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -305,7 +305,8 @@
;;;; Rust
-(use-package jao-rust :demand t)
+(use-package jao-rust :demand t
+ :hook (rust-mode . jao-rust-show-module-mode))
(use-package rust-mode
:ensure t
@@ -370,7 +371,10 @@
(rustic-cargo-use-last-stored-arguments nil)
(rustic-cargo-test-runner 'nextest)
(rustic-cargo-nextest-exec-command '("nextest" "run" "--color=never" "--show-progress=none"))
- :bind (:map rustic-mode-map (("s-r" . jao-transient-rustic))))
+ :bind (:map rustic-mode-map (("C-R" . isearch-backward)
+ ("C-r" . jao-transient-rustic)
+ ("C-c c" . jao-transient-rustic)
+ ("C-c C-c" . jao-transient-rustic))))
(jao-attach-below-eldoc "\\*\\(cargo-.+\\|rustic-compilation\\)\\*" 0.5)