tweaks to rustic
This commit is contained in:
parent
dd77b6808c
commit
24e83ba3d7
|
@ -3466,7 +3466,10 @@ I'd like to start learning and using rust if I can.
|
||||||
(chris/leader-keys 'normal rustic-mode-map
|
(chris/leader-keys 'normal rustic-mode-map
|
||||||
"gc" 'rustic-compile
|
"gc" 'rustic-compile
|
||||||
"gr" 'projectile-run-project
|
"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
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -3592,7 +3595,9 @@ Let's give eglot a try.
|
||||||
:general
|
:general
|
||||||
(general-def 'normal eglot-mode-map
|
(general-def 'normal eglot-mode-map
|
||||||
"ga" 'eglot-code-actions
|
"ga" 'eglot-code-actions
|
||||||
"gi" 'eglot-find-implementation))
|
"gi" 'eglot-find-implementation
|
||||||
|
"gr" 'eglot-rename
|
||||||
|
"gR" 'xref-find-references))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
9
init.el
9
init.el
|
@ -2576,7 +2576,10 @@ targets."
|
||||||
(chris/leader-keys 'normal rustic-mode-map
|
(chris/leader-keys 'normal rustic-mode-map
|
||||||
"gc" 'rustic-compile
|
"gc" 'rustic-compile
|
||||||
"gr" 'projectile-run-project
|
"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
|
(use-package slint-mode
|
||||||
:mode "\\.slint\\'")
|
:mode "\\.slint\\'")
|
||||||
|
@ -2640,7 +2643,9 @@ targets."
|
||||||
:general
|
:general
|
||||||
(general-def 'normal eglot-mode-map
|
(general-def 'normal eglot-mode-map
|
||||||
"ga" 'eglot-code-actions
|
"ga" 'eglot-code-actions
|
||||||
"gi" 'eglot-find-implementation))
|
"gi" 'eglot-find-implementation
|
||||||
|
"gr" 'eglot-rename
|
||||||
|
"gR" 'xref-find-references))
|
||||||
|
|
||||||
(use-package consult-eglot
|
(use-package consult-eglot
|
||||||
:general
|
:general
|
||||||
|
|
Loading…
Reference in a new issue