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

mapping capslock #816

Open
dagimg-dot opened this issue Aug 20, 2024 · 2 comments
Open

mapping capslock #816

dagimg-dot opened this issue Aug 20, 2024 · 2 comments

Comments

@dagimg-dot
Copy link

I mapped capslock + f to ctrl + v (paste) and also i mapped caplock + e to ctrl only when pressed like this

[capslock:C]
f = C-v
e = layer(control)

now what i want is when i press capslock + e + f to work like ctrl + f since capslock + e is ctrl. how can i achieve that. currently when i press capslock + e + f it performs capslock + f which is ctrl + v

@nsbgn
Copy link

nsbgn commented Aug 20, 2024

[main]
capslock = layer(capslock)

[capslock:C]
f = C-v
e = layer(control)

[capslock+control]
f = C-f

@dagimg-dot
Copy link
Author

dagimg-dot commented Aug 20, 2024

Thank you it works for f

one more question. Can i make capslock+e to behave like ctrl for all cases without losing what i have now. like all comibinations with ctrl will work when i hold capslock + e. currently it works only for f like you gave me above

[main]
capslock = layer(capslock)

[capslock:C]
f = C-v
e = layer(control)

[capslock+control]
f = C-f

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