about summary refs log tree commit diff
path: root/users/grfn
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-08-02T20·59-0400
committergrfn <grfn@gws.fyi>2021-08-02T21·09+0000
commit93b2518b1c5b821f84009e890921709e0f8eba7d (patch)
treeaee71dae045178c4f15934ffe9e359962d41aa62 /users/grfn
parentc8f521e96a2d2b127ad4e6b6785b25f906c01ddf (diff)
fix(gs/emacs): Explicitly bind g d to lsp-find-definition in rust r/2702
Change-Id: I1d3cbccf1e976df1c08a6e34b736392208351a26
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3272
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn')
-rw-r--r--users/grfn/emacs.d/rust.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/rust.el b/users/grfn/emacs.d/rust.el
index 91d1f16a1115..dd978ce45f73 100644
--- a/users/grfn/emacs.d/rust.el
+++ b/users/grfn/emacs.d/rust.el
@@ -24,6 +24,7 @@
  (:map rust-mode-map
   :n "g RET" #'cargo-process-current-file-tests
   :n "g R" #'lsp-find-references
+  :n "g d" #'lsp-find-definition
   (:localleader
    "m" #'lsp-rust-analyzer-expand-macro)))