summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/custom/fcuny-go.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-go.el b/emacs.d/custom/fcuny-go.el
index 77248eb..b7a7d1b 100644
--- a/emacs.d/custom/fcuny-go.el
+++ b/emacs.d/custom/fcuny-go.el
@@ -2,6 +2,12 @@
   :ensure t
   :after (exec-path-from-shell flycheck flyspell)
   :hook (go-mode . fcuny/go-mode-setup)
+  :bind (("M-?" . godoc-at-point)
+         ("M-." . godef-jump)
+         ;; Jump back after godef-jump
+         ("M-*" . pop-tag-mark))
+  :custom
+  (godoc-use-completing-read t)
   :init
   (defun fcuny/go-mode-setup ()
     (setq tab-width 4)