From cf9783facfd9a33acecbba59562e595075faa48c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 23 May 2019 16:43:39 -0700 Subject: [emacs] add a few bindings for go. --- emacs.d/custom/fcuny-go.el | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit 1.4.1