-
Notifications
You must be signed in to change notification settings - Fork 71
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
Suggestion: require config opt-in to enable Opt+N, Opt+P bindings #64
Comments
Yeah, we need to find a better way of dealing with global keybindings. Initially I had all the major keys set to be used with CMD. That turned out to be a problem. CMD used heavily in OSX, so we decided maybe it's better by default to bind global keys to Option|Alt. See #30. But that's not ideal either. Plus, we need to re-think user's localized config values. Also Option+n/p ( Thank you for highlighting the issue. Will give it a thought. |
Just to leave a note on that suggestion, which seems very sensible...I was very confused by this for a long time, thinking macOS had some kind of undocumented neat trick! Perhaps you might explain the best way to disable such an option, apart from simply commenting it out (totally missed that Fennel is a Lisp, so .fnl are just Lisp files, in which case good ol' Lisp commenting with semi-colons is in effect! Or at least for now, it might be wise to draw greater attention to those particular Opt+N/P keybindings in the README, as I was deeply puzzled about why I had lost my
EDIT: DON'T do the following, which at least kept Hammerspoon from complaining on reload, but definitely doesn't work: For anyone struggling with commenting out the lines that cover this in |
What about the following:
This way we're introducing new users to their config.fnl, but not making too many assumptions about their bindings. Thoughts? |
Yep, that sounds like an ideal way to balance all the different needs and desires, totally. |
These interfere with using Opt+N to add an accent character ("ñ"), and since the way Hammerspoon binds keys isn't visible from the System Preferences Keyboard panel, this can lead to surprising the user.
IIRC this binding wasn't present in a prior version of Spacehammer, so I was surprised 😄
The text was updated successfully, but these errors were encountered: