sindresorhus / KeyboardShortcuts

⌨️ Add user-customizable global keyboard shortcuts (hotkeys) to your macOS app in minutes
https://swiftpackageindex.com/sindresorhus/KeyboardShortcuts/documentation/keyboardshortcuts/keyboardshortcuts
MIT License
1.94k stars 181 forks source link

Can I still use the spacebar for spacing after setting it as a shortcut key? #146

Closed asaxing closed 1 year ago

asaxing commented 1 year ago

After setting the spacebar as a shortcut, I can no longer input spaces in TextEditor. Does anyone know how to fix this issue? thanks

sindresorhus commented 1 year ago

You could disable the shortcut when a text editor is focused. I'm not aware of a better way to handle this. That's why it's generally smart to combine it with a modifier.

asaxing commented 1 year ago

thanks for the solution, it works for me