srithon / kmonadx

A concise and expressive extension language for configuring KMonad
GNU General Public License v3.0
11 stars 0 forks source link

Support list lvalues in [[keys]] assignments #2

Open srithon opened 2 years ago

srithon commented 2 years ago

Sometimes, you may want to have two keys do the same thing. Currently, the best way to achieve this behavior is to abstract the functionality into an alias, and have both keys execute that alias. However, it would be cleaner if instead, we could just set the values of both keys simultaneously, like so:

{ X, Y } = 'A'