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

Support (visual only) mapmode 'x' #46

Closed
Philipp-M opened this issue May 2, 2021 · 2 comments
Closed

Support (visual only) mapmode 'x' #46

Philipp-M opened this issue May 2, 2021 · 2 comments

Comments

@Philipp-M
Copy link

Following:

wk.register({ i = { h = {':<C-U>lua require"gitsigns".select_hunk()<CR>', 'Git hunk'}}}, {mode = "x"})

results in:

WhichKey: Invalid mode "x" for buf 0

while the same with "v" as mode works as (almost) expected.

@folke
Copy link
Owner

folke commented May 2, 2021

Should be fixed now. Thank you for the report!

@Philipp-M
Copy link
Author

Thanks for the quick fix, just tested it, it's working.

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

2 participants