Skip to content

hydras clobbering keymaps of DAP UI #95

@llllvvuu

Description

@llllvvuu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions