Show Which Keys Have Mappings In Neovim

March 2023

Use :map to see all the keys that are mapped to your leader key and find out what they do:

:map <leader>

Notes

  • Runnig :verbose map <leader> give a note about where things were set from. I don't use it becuase it's always been the same "Last set from Lua" string for me.
  • Using :map by itself will show the leader keys along with everything else in the keymap
  • I'm not sure how that list is sorted. Might be worth finding where the data is stored and setting up a Telescope extension to better see what's going on.
end of line