Fix: common-lisp module jump hydra conflict

This hydra conflicts with Doom's popup windows in the case a jump
creates a sly-xref-mode buffer. Use direct local leader bindings instead.
This commit is contained in:
Michael Fiano 2018-12-01 15:25:12 -05:00
parent abc7ca84d8
commit fead537328
2 changed files with 8 additions and 21 deletions

View file

@ -1,24 +1,5 @@
;;; lang/common-lisp/autoload/hydras.el -*- lexical-binding: t; -*-
;;;###autoload (autoload '+common-lisp/navigation/body "lang/common-lisp/autoload/hydras" nil nil)
(defhydra +common-lisp/navigation (:exit nil :hint nil :foreign-keys run)
"
^^Definitions ^^Compiler Notes ^^Stickers
^^^^^^
[_g_] Jump to definition [_n_] Next compiler note [_s_] Next sticker
[_G_] Jump to definition (other window) [_N_] Previous compiler note [_S_] Previous sticker
[_b_] Pop from definition
[_q_] Exit
"
("g" sly-edit-definition)
("G" sly-edit-definition-other-window)
("b" sly-pop-find-definition-stack)
("n" sly-next-note)
("N" sly-previous-note)
("s" sly-stickers-next-sticker)
("S" sly-stickers-prev-sticker)
("q" nil :exit t))
;;;###autoload (autoload '+common-lisp/macrostep/body "lang/common-lisp/autoload/hydras" nil nil)
(defhydra +common-lisp/macrostep (:exit nil :hint nil :foreign-keys run)
"