Override evil-collection xref buffer RET keybinding

This commit is contained in:
Jeremy Dormitzer 2019-11-29 10:20:13 -05:00
parent 30024c99f0
commit ad8e2f9f2b

View File

@ -760,7 +760,7 @@ After I select an xref reference, I want the xref buffer closed:
(defun xref-goto-xref-and-quit ()
(interactive)
(xref-goto-xref t))
(general-def 'normal xref--xref-buffer-mode-map "RET" #'xref-goto-xref-and-quit)
(general-def 'normal xref--xref-buffer-mode-map "RET" #'xref-goto-xref-and-quit :keymaps 'override)
#+END_SRC
* Speedbar
Speedbar is cool but having it open in a separate frame is annoying. This makes it open in a side window in the same frame: