Some other options for debugging keys:
:help i_CTRL-K
allows you to see what vim calls a given key. For example, ctrl-k
in insert mode followed by a primary mouse click shows <LeftMouse>.
https://github.com/folke/which-key.nvim is a (neovim-specific) plugin that shows the key you typed as well as all bindings that could possibly follow in the sequence. For instance, this shows everything I have bound after g
: