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 to unset a keybinding? #4

Open
martisj opened this issue Jul 20, 2020 · 1 comment
Open

How to unset a keybinding? #4

martisj opened this issue Jul 20, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@martisj
Copy link

martisj commented Jul 20, 2020

I don't use the upleft upright keys, is there a way to disable them?

Tried

spoon.ShiftIt:bindHotkeys({
  upleft = nil,
  upright = nil,
  botleft = nil,
  botright = nil,
})

to no avail

@peterklijn peterklijn added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request and removed bug Something isn't working labels Jul 21, 2020
@peterklijn
Copy link
Owner

peterklijn commented Jul 21, 2020

Thanks for reporting @martisj, I'm able to reproduce it.

It looks like Lua removes values from a table (map) when the value is nil.
I'll get back to you with a solution or workaround a bit later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants