Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] correct: add support for colemak layout



On Thu, Mar 9, 2023 at 7:38 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> It would be nice to not introduce another weird tri-state thing here
> [...] Perhaps it would be nicer to just let
> the user set the layout in some special (namespaced?) parameter

Yes, I was just thinking the same thing.   Since the keyboard layout
is expressed as a string rather than a 2d array, there's no special
complication with assigning it to a parameter, the format just needs
documenting.  14 newlines, then four runs of 12 "keys" each with tabs
at each end, then a run of 14 newlines, then four more runs for the
shifted keys, and finally 14 newlines?

If we namespace it (a reasonable idea) we'll need to start documenting
reserved namespaces.  Oliver has already suggested a "zle" namespace.

Thanks, BTW, for mentioning OPT_SIZE placement.




Messages sorted by: Reverse Date, Date, Thread, Author