XREF: Add xref key bindings

This commit is contained in:
laurensmiers 2020-04-20 14:20:18 +02:00
parent ea7d82619c
commit 91ab7f3e31

View file

@ -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