keyd
keyd copied to clipboard
Impossible to map [ to ]
Hey. I desperately want to remap the key returned by keyd monitor as [ to the key returned by keyd monitor as ]
/etc/keyd/default.conf ` [ids]
[main]
[ = ]
] =
`
Understandably, since [] is syntax for a label, the parser must be reading what I want to do as just a [=] (a label of =)
use the command keyd list-keys to get a list of the names of the keys that keyd recognizes in the config:
Any of the following are valid syntax
leftbrace = rightbrace
[ = rightbrace
leftbrace = rightbrace
Or use [ = macro(]), but the other solution seems cleaner