Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rgoulter
Copy link
Owner

@rgoulter rgoulter commented Mar 29, 2025

This PR adds & implements a Cucumber spec for the "set default layer" modifier key.

The somewhat-cumbersome ncl/layered-key.ncl code is updated to work with "layer state", rather than just "active layers".

Comment on lines +31 to +33
press (K.layer_mod.set_default 1),
release (K.layer_mod.set_default 1),
press (K.B),
Copy link
Owner Author

Choose a reason for hiding this comment

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

  1. "tap" rather than "press", "release" may be nicer.

  2. "press K.B" is rather hard to read in this case.

@rgoulter
Copy link
Owner Author

I'll have to think about the press/release syntax.

May be want something more like press key(K.B) / press key_on_active_layer(K.B). May want press(key_at_index(2)).

@rgoulter rgoulter merged commit d0e39b3 into master Mar 29, 2025
5 checks passed
@rgoulter rgoulter deleted the feature-layer-modkey-default branch March 29, 2025 06:10
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.

2 participants