-
Notifications
You must be signed in to change notification settings - Fork 45
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
Modifier prefix (like C-M-) #179
Comments
It's been on my todo list for a while to have |
I'm thinking about the best syntax for this. I can't just treat `:prefix "C-M-S-" as a modifier since it could also be those letters and hyphens. I'm thinking one of these: (general-def
:prefix '("C-M-S-" :modifier t)
"f" #'projectile-next-project-buffer)
(let ((general-prefix-ending-in-hypen-is-modier t))
(general-def
:prefix "C-M-S-"
"f" #'projectile-next-project-buffer)) The variable could be set globally or around a |
Just made some changes to my init and checked if there had been any updates here :) From a user perspective I think something like this would be nice:
Maybe |
I will use this feature too, but it's not high priority for me. I think it will still be a little complicated with another keyword. I'm not planning on adding support until #497 (not anytime soon) but will accept a PR for it if anyone wants to make one. |
Hi! I'm trying out switching from
bind-key
togeneral
in my Emacs config. I use a keyboard with QMK firmware, which basically lets the keyboard do all sort of crazy things. One thing I have is something called the "Meh key", which is a single key that simulates holdingC-M-S
when held down. Since I tend to forget which keys it actually simulates, I've written this in my init:Which I then can run like this:
I just wondered if there's a more elegant way to do this, for instance with
general-create-definer
?The text was updated successfully, but these errors were encountered: