this post was submitted on 29 Jun 2023
6 points (100.0% liked)

Neovim

2 readers
1 users here now

founded 2 years ago
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] normanras@open-source.social 1 points 2 years ago* (last edited 2 years ago) (1 children)

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 3 points 2 years ago (1 children)

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.

Embarrassing... a little extra reading would have solved my issue. Thanks again, Steve!