Jump back after jump to def with "C-c b"

This commit is contained in:
2018-05-20 03:03:18 +01:00
parent 7a9ab68e33
commit d35bd03351
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
(use-package dumb-jump
:bind
("C-c d" . dumb-jump-go)
("C-c b" . dumb-jump-back)
("M-g o" . dumb-jump-go-other-window)
("M-g j" . dumb-jump-go)
("M-g b" . dumb-jump-back)

View File

@@ -70,7 +70,8 @@
:defer t
:after go-mode
:bind (:map go-mode-map
("C-c d" . go-guru-definition))
("C-c d" . go-guru-definition)
("C-c b" . pop-tag-mark))
:hook (go-mode . siren-go-guru-setup)
:init