liuchengxu / vim-which-key

:tulip: Vim plugin that shows keybindings in popup
https://liuchengxu.github.io/vim-which-key/
MIT License
1.93k stars 65 forks source link

Handle special keys in the mapping properly #240

Closed liuchengxu closed 1 year ago

liuchengxu commented 1 year ago

The mapping <Tab> is tracked in the mappings in String form, while the returned value from getchar() is a Number, convert it to String manually so that the corresponding entry in s:runtime can be retrieved.

Close #135