From 91ab7f3e31304ce5bd3c656dcce4e01d584de521 Mon Sep 17 00:00:00 2001 From: laurensmiers Date: Mon, 20 Apr 2020 14:20:18 +0200 Subject: [PATCH] XREF: Add xref key bindings --- config.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.org b/config.org index 2a32285..2b965d7 100644 --- a/config.org +++ b/config.org @@ -921,6 +921,14 @@ https://github.com/joaotavora/yasnippet (add-hook 'prog-mode-hook 'linum-relative-mode)) #+END_SRC +** xref + +#+BEGIN_SRC emacs-lisp +(global-set-key (kbd "M-.") 'xref-find-definitions) +(global-set-key (kbd "C-M-.") 'xref-find-references) +(global-set-key (kbd "M-,") 'xref-pop-marker-stack) +#+END_SRC + ** C/C++ mode *** Company