Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hydras clobbering keymaps of DAP UI #95

Open
llllvvuu opened this issue Sep 26, 2023 · 0 comments
Open

hydras clobbering keymaps of DAP UI #95

llllvvuu opened this issue Sep 26, 2023 · 0 comments

Comments

@llllvvuu
Copy link

llllvvuu commented Sep 26, 2023

Use-case: In nvim-dap-ui using the window management hydra to navigate between windows.

nvim-dap-ui uses nvim_buf_set_keymap to set keybindings for each UI window.

  • If I stay in the DAP hydra (pink) and use regular keybindings to navigate windows, the windows get the right keybindings despite me being in a hydra.
  • If I go from DAP hydra to the windows hydra (also pink) and navigate windows using hydra heads, the windows do not get the right keybindings. It seems like they are trying to write into the layer; keys do something, albeit mangled, while the hydra is active, and after the hydra is finished, there is no keybinding at all.

UPDATE: Even with only the DAP hydra and no windows hydra, the keybindings still don't work

@llllvvuu llllvvuu changed the title Cannot set keymaps while executing a hydra head Cannot set keymaps while in hydra Sep 26, 2023
@llllvvuu llllvvuu changed the title Cannot set keymaps while in hydra hydras clobbering keymaps of DAP UI Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant