I’m trying to add a few more keymaps for some builtin telescope functions. Ironically, builtin.keymaps being one of them.

Which key shows my other telescope keymaps when I type <leader>f, but I want to figure out where they are defined. Is there a command in neovim to find where the keymaps are declared?

  • normanras@open-source.socialOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    No way! Is this the same stevearc that made vim-arduino plugin? I was about to open an issue on the repo! But it might just be my setup of the lazy plugin manager.

    Anyway, thanks for the tip here! Since so much is setup with Lua the command just says “Last set by Lua”. I’ll have to dig around some more.

    • stevearc@open-source.social
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Yep that’s me, issues welcome 🙂

      This is why I mentioned starting in verbose mode nvim -V1. If you do that you should see the exact line number where the keymap was set from lua.