How to add a custom keybindings to a specified layer of Spacemacs?

Viewed 744

For example, I want to bind M . to godef-jump, how can I do this for only the go layer?

1 Answers

Try spacemacs/set-leader-keys-for-major-mode. Just set the keybinding for go-mode

Related