vim-leader-guide
vim-leader-guide copied to clipboard
How do I display the guide for bindings such as <leader><leader>c ?
Thanks for writing vim-leader-guide, it's gonna be truly helping to onboard new vim users in my team :)
I have in my configuration a couple of bindings that are assigned to <leader><leader>c
for example.
Presently, those bindings are showing and SPC
or <leader>
isn't displayed in the list of first level leader commands (ie, next to the entries for <leader>t
for example)
Hey,
sorry for the delay. Could you please upload a sample configuration.
For me <leader>
is displayed correctly. Not as leader, but as <Space>
, or rather a whitespace. The empty group at the top left. (No group name defined):
The configuration in my example is a simple:
noremap <leader><leader>c :echo "test"<cr>
Do you have <leader><leader>
set to something as well? If so, there might be some issue with the flattening procedure.
Something like this wont work for me:
let g:lmap.<leader> = [ 'Denite command', 'Enter command' ]
is there a way to still document it?
Having same issue here. I'm using default leader \
and default keybindings from vim-easymotion which is <leader><leader>
. It shows up as [\] <Plug>(easymotion-prefix)
in leader-guide window. What I'm trying to do is to add name description here via:
let g:lmap['\']={'name': 'Easymotion'}
But it produces:
[\] <Plug>(easymotion-prefix)
[\m] Easymotion
in leader-guide window. I tried various escaping patterns with single and double quotes, single or double slashes, <leader>
. None of it worked as expected.