vim9script g:which_key_map = { f: { name: 'File', o: ['Poplar', 'open'], x: ['q', 'quit'] }, v: { name: 'View', } } tui#core#plug#Regist('liuchengxu/vim-which-key', { config: () => { which_key#register('', "g:which_key_map") nnoremap :WhichKey '' } })