Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I display the guide for bindings such as <leader><leader>c ? #29

Open
jhchabran opened this issue Oct 7, 2016 · 3 comments
Open

Comments

@jhchabran
Copy link

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)

@hecal3
Copy link
Owner

hecal3 commented Nov 6, 2016

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):
space_binding

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.

@robinvd
Copy link

robinvd commented May 11, 2017

Something like this wont work for me:

let g:lmap.<leader>  = [ 'Denite command', 'Enter command' ]

is there a way to still document it?

@z0rc
Copy link

z0rc commented Sep 20, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants