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

fix(docs): Fix Colemak keyboard distribution #213

Closed
wants to merge 1 commit into from

Conversation

martintdp
Copy link

The mapping seems to be flipped.
With the default configuration and only
including the mappings, alt-i would change to workspace "u" (by mapping to alt-u) instead of
moving focus right (as expected of alt-l)

This commit addresses the issue by inverting the mapping declaration.

The mapping seems to be flipped.
With the default configuration and only
including the mappings, `alt-i` would change to workspace "u" (by
mapping to `alt-u`) instead of
moving focus right (as expected of `alt-l`)

This commit addresses the issue by inverting the mapping declaration.
@nikitabobko
Copy link
Owner

nikitabobko commented May 19, 2024

Are you sure that your PR is correct? I have double-checked it and the mapping seems to be correct

Keys of the mapping are key notations and values of the mapping are key codes

E.g. in Colemak, key i has key code l (qwerty)

k = 'n'
r = 'm'
n = 'k'
m = 'r'
Copy link

@omar25h omar25h May 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using the Colemak layout and the current settings are almost correct. As a matter of fact, I only had to modify this line to avoid having duplicate mapping (r = 's' on line 179 and r = 'm' here)

Suggested change
m = 'r'
m = 'm'

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only had to modify this line to avoid having duplicate mapping (r = 's' on line 179 and r = 'm' here)

Thanks! That is a typo indeed. Should be fixed now 74dc45ec

nikitabobko added a commit that referenced this pull request May 19, 2024
Related: #213
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

Successfully merging this pull request may close these issues.

None yet

3 participants