abo-abo / hydra

make Emacs bindings that stick around

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to open helm minibuffer while hydra is open ?

pcompassion opened this issue · comments

I first open hydra with foreign-keys run
Then I run helm-M-x.

Something is mesed up, the window is there but hydra is gone.
How to make the two coexist or at least properly disable hydra?

I find if I run helm-M-x first then hydra, it works fine.
But not the other way around.

I tried setting up
:on-enter (add-hook 'helm-minibuffer-set-up-hook 'hydra-disable)


  (spacemacs|define-transient-state ek-debug
    :title "debug"
    :doc "
 Step^^             Break^^            Debug^^          Other^^
 ───────^^───────── ─────^^─────────── ─────^^───────── ──────^^──────--
 [_n_] next         [_b_] breakpoint   [_Rd_] debug     [_u_] stack up
 [_i_] step in      [_Bc_] break con   [_Rr_] d recent  [_d_] stack down
 [_o_] step out     [_Bh_] break hit   [_Rs_] d restart
 [_c_] continue     [_Bl_] break log   [_r_] debug last  [_q_] quit"
    :foreign-keys run
    ;; :on-enter (evil-motion-state)
    ;; :on-exit (evil-emacs-state)
    :bindings
    ("n" dap-next)
    ("i" dap-step-in)
    ("o" dap-step-out)
    ("c" dap-continue)
    ("b" dap-breakpoint-toggle)
    ("Bc" dap-breakpoint-condition)
    ("Bh" dap-breakpoint-hit-condition)
    ("Bl" dap-breakpoint-log-message)
    ("Rd" dap-debug)
    ("Rr" dap-debug-recent)
    ("Rs" dap-debug-restart)
    ("r" dap-debug-last)
    ("u" dap-up-stack-frame)
    ("d" dap-up-stack-frame)
    ("C-p" previous-line)
    ("C-n" next-line)
    ("C-a" move-beginning-of-line)
    ("C-e" move-end-of-line)
    ;; ("C-g" nil :exit t))

    ("q" nil :exit t))