From 85c589e5bef684e7c21319fbc2ff9838c513891d Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Tue, 19 Jun 2018 11:03:57 -0400 Subject: [PATCH] Enable godef-jump shortcut --- spacemacs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spacemacs b/spacemacs index 11c8684..caaa82c 100644 --- a/spacemacs +++ b/spacemacs @@ -349,6 +349,10 @@ you should place your code here." (lambda() (add-hook 'before-save-hook 'terraform-format-buffer))) +(add-hook 'go-mode-hook + (lambda() + (local-set-key (kbd "M-.") 'godef-jump))) + ;; Do not write anything past this comment. This is where Emacs will ;; auto-generate custom variable definitions. (custom-set-variables