emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 9424ab3 283/495: Map C-g f to goto-function and C-


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 9424ab3 283/495: Map C-g f to goto-function and C-g n to goto-function-name
Date: Sat, 7 Aug 2021 09:05:32 -0400 (EDT)

branch: elpa/go-mode
commit 9424ab30eb3488971caa32272346c893b9ba0306
Author: Dominik Honnef <dominik@honnef.co>
Commit: Dominik Honnef <dominik@honnef.co>

    Map C-g f to goto-function and C-g n to goto-function-name
---
 go-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/go-mode.el b/go-mode.el
index 8cb9e6b..b094f92 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -368,9 +368,10 @@ For mode=set, all covered lines will have this weight."
 (let ((m (define-prefix-command 'go-goto-map)))
   (define-key m "a" #'go-goto-arguments)
   (define-key m "d" #'go-goto-docstring)
-  (define-key m "f" #'go-goto-function-name)
+  (define-key m "f" #'go-goto-function)
   (define-key m "i" #'go-goto-imports)
   (define-key m "m" #'go-goto-method-receiver)
+  (define-key m "n" #'go-goto-function-name)
   (define-key m "r" #'go-goto-return-value))
 
 (defvar go-mode-map



reply via email to

[Prev in Thread] Current Thread [Next in Thread]