Input symbols
Input symbols (which can be used as key alias) by layer + keys. When press and
hold key z to activate the 'symbols' layer:
←,→,↑,↓,␣,⏎,⌫,⌦: Paste the symbol.,: Paste‹(for "left side" which looks nicer than<)..: Paste›(for "right side" which looks nicer than>).4: Paste⇥5: Paste⎋6: Paste⌘7: Paste⌥8: Paste⌃9: Paste⇧0: Paste⇪
Use any key for the layer, also consider using:
simlayer('z', 'symbols')hyperLayer('z', 'symbols')duoLayer('z', 'x', 'symbols')
Example code: ( Open in the online editor → )
let rules = [
layer('z', 'symbols').manipulators([
withMapper(['←', '→', '↑', '↓', '␣', '⏎', '⌫', '⌦'])((k) =>
map(k).toPaste(k),
),
{ ',': toPaste('‹'), '.': toPaste('›') },
withMapper({ 4: '⇥', 5: '⎋', 6: '⌘', 7: '⌥', 8: '⌃', 9: '⇧', 0: '⇪' })(
(k, v) => map(k).toPaste(v),
),
]),
]