From bf9f6ff5ddf576fecfbbe6c7ad2fd67f5e3a1e42 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 16 May 2023 19:40:09 +0200 Subject: [PATCH] make go mode lsp bindings local --- lisp/init-go.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/init-go.el b/lisp/init-go.el index 10eff26..26d1907 100644 --- a/lisp/init-go.el +++ b/lisp/init-go.el @@ -24,9 +24,13 @@ (add-hook 'go-mode-hook #'ivy-mode) ;; overwrite dump-jump settions here - (bind-key* (kbd "C-c j") #'lsp-find-definition) - (bind-key* (kbd "C-c b") #'xref-pop-marker-stack) - )) + ;; (bind-key* (kbd "C-c j") #'lsp-find-definition) + ;; (bind-key* (kbd "C-c b") #'xref-pop-marker-stack) + ) + + :bind (:map go-mode-map + ( "C-c j" . #'lsp-find-definition) + ("C-c b" . #'xref-pop-marker-stack))) (provide 'init-go)