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

Fork doesn’t respect Colemak or other keyboard layouts #2265

Open
stuartro opened this issue Dec 19, 2024 · 0 comments
Open

Fork doesn’t respect Colemak or other keyboard layouts #2265

stuartro opened this issue Dec 19, 2024 · 0 comments

Comments

@stuartro
Copy link

I use the Colemak keyboard layout and when I press ⌘S to stage a change, Fork thinks I’ve pressed ⌘D (in Colemak the "S" key is in position of the "D" key used by QWERTY). The same occurs for other keyboard shortcuts.

To work around this for now I have created Keyboard Maestro macros that, for example, send the “QWERTY” ’S’ (which is actually "R" in Colemak). That is, when I press ⌘S, Keyboard Maestro sends ⌘R to Fork. This works, but is rather inelegant and others might have the same issue (and not know how to fix it, or not have Keyboard Maestro).

You may want to look at https://github.com/Clipy/Sauce, which provides a clean Swift-friendly way to correctly map keycodes based on the user’s currently selected keyboard layout.

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

1 participant