Use Ivy as the interface to select from xref candidates.
The preferred way to install ivy-xref
is via
MELPA - then you can just M-x package-install RET
ivy-xref RET
To enable then simply add the following to your init file:
(require 'ivy-xref)
(setq xref-show-xrefs-function #'ivy-xref-show-xrefs)
We recommend to use use-package to make this automatic:
(use-package ivy-xref
:ensure t
:init (setq xref-show-xrefs-function #'ivy-xref-show-xrefs))
If you would like to install the package manually, download or clone it and
place within Emacs' load-path
, then enable as above.
Copyright © 2017 Alex Murray
Distributed under GNU GPL, version 3.