For example, I want to bind M .
to godef-jump
, how can I do this for only the go layer?
Asked
Active
Viewed 815 times
1 Answers
2
Try spacemacs/set-leader-keys-for-major-mode
. Just set the keybinding for go-mode

Enze Chi
- 1,733
- 17
- 28
-
Is there a convention on where or which file to write the code? – handora Oct 24 '18 at 00:47
-
I am not sure which is the "convention" way. For me, I just create my private layer such as "goplus" and add it to packages.el and add "go" layer to layers.el – Enze Chi Oct 25 '18 at 01:41