I am setting up my local keymaps (in ~/.thinkvim.d/local_settings.vim). I'd really like to be able to register them with vim-which-key, but I can't work out how to do that from local_settings.vim. Is this possible?
I've made several attempts with no luck. When attempted with the file shown above, I get the following error message from nvim.
Error detected while processing /home/quisenbeje/.thinkvim.d/local_settings.vim:
line 29:
E121: Undefined variable: g:which_key_map
line 31:
E121: Undefined variable: g:which_key_map
line 33:
E121: Undefined variable: g:which_key_map
Press ENTER or type command to continue
Problems summary
I am setting up my local keymaps (in ~/.thinkvim.d/local_settings.vim). I'd really like to be able to register them with vim-which-key, but I can't work out how to do that from local_settings.vim. Is this possible?
I've made several attempts with no luck. When attempted with the file shown above, I get the following error message from nvim.