diff --git a/README.org b/README.org index 9cbb1329..9988a035 100644 --- a/README.org +++ b/README.org @@ -3466,7 +3466,10 @@ I'd like to start learning and using rust if I can. (chris/leader-keys 'normal rustic-mode-map "gc" 'rustic-compile "gr" 'projectile-run-project - "si" 'consult-imenu-multi)) + "si" 'consult-imenu-multi + "ga" 'rustic-cargo-add + "gC" 'rustic-cargo-clippy + "gt" 'rustic-cargo-test)) #+end_src #+begin_src emacs-lisp @@ -3592,7 +3595,9 @@ Let's give eglot a try. :general (general-def 'normal eglot-mode-map "ga" 'eglot-code-actions - "gi" 'eglot-find-implementation)) + "gi" 'eglot-find-implementation + "gr" 'eglot-rename + "gR" 'xref-find-references)) #+end_src #+begin_src emacs-lisp diff --git a/init.el b/init.el index 72ceb786..6821f7d5 100644 --- a/init.el +++ b/init.el @@ -2576,7 +2576,10 @@ targets." (chris/leader-keys 'normal rustic-mode-map "gc" 'rustic-compile "gr" 'projectile-run-project - "si" 'consult-imenu-multi)) + "si" 'consult-imenu-multi + "ga" 'rustic-cargo-add + "gC" 'rustic-cargo-clippy + "gt" 'rustic-cargo-test)) (use-package slint-mode :mode "\\.slint\\'") @@ -2640,7 +2643,9 @@ targets." :general (general-def 'normal eglot-mode-map "ga" 'eglot-code-actions - "gi" 'eglot-find-implementation)) + "gi" 'eglot-find-implementation + "gr" 'eglot-rename + "gR" 'xref-find-references)) (use-package consult-eglot :general