anuvyklack / hydra.nvim

Create custom submodes and menus
1.04k stars 23 forks source link

insert mode hydras can't insert text #71

Open dark-ether opened 1 year ago

dark-ether commented 1 year ago

the following hydra shows the problem

hydra({
  name = "Test",
  mode = "i",
  body = "<C-t>",
  config = {
    color = "red",
    invoke_on_body = false,
    timeout = false
  },
  heads = {
    {"a","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",{desc = "test"}}
  },
})

luckily functions work so i can mitigate the problem with nvim_input.

IndianBoy42 commented 1 year ago

I'm curious what you're using an insert mode hydra for?