[Cuis-dev] Adding some shortcuts to Cuis
Gerald Klix
cuis.01 at klix.ch
Tue Nov 12 04:00:09 PST 2024
Hi Matías,
I love to see this implemented.
Please take a look at
https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/klg-packages/MorphZooming.pck.st
which should be a useful starting point. Although this is a package
implemented for Haver (http://haver.klix.ch), it should work with plain
Cuis,
if you delete the
!requires: 'WindowSets' 1 29 nil!
line.
*Please note:*
Before adding any short-cuts/hotkeys consider implementing some
some sort of registry for global keyboard shortcuts.
I already have two packages, that modify
KeyboardEvent>>#sendEventTo:.
Meaning the aforementioned requirement of the Haver's window sets package
is an artificial one, because this package also patches that
KeyboardEvent>>#sendEventTo: method.
(See
https://hg.sr.ht/~cy-de-fect/HaverOnCuis/browse/haver/ui/WindowSets.pck.st?rev=tip#L1676).
Admittedly up to now I was to lazy to discuss the need for a registry of
global keyboard shortcuts
with the community and preferred a simple "solution" for Haver.
Best Regards,
Gerald
On 11/12/24 1:55 AM, Mark Volkmann via Cuis-dev wrote:
> All of your proposed shortcuts seem useful, but the ones I would use the
> most are increasing/decreasing the size of GUI elements and toggling full
> screen mode on and off.
>
> On Mon, Nov 11, 2024 at 4:43 PM Matías Waisman via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> Hi, my name is Matías, and I'm a CS student at the Universidad de Buenos
>> Aires.
>>
>> While working with CuisUniversity, I noticed that there’s a shortcut to
>> close a window (Ctrl + W), but none to collapse or expand it. I also think
>> it would be really helpful to have a shortcut to increase or decrease the
>> size of GUI elements, similar to how many IDEs allow you to adjust the
>> system font size with Ctrl + / Ctrl -.
>>
>> Because of this, I started working on a few new shortcuts for Cuis. I’d
>> like to know if you think these shortcuts would be useful, what other
>> shortcuts you’d suggest, and which key combinations would be best for them.
>>
>> The shortcuts that I’m currently working on are:
>>
>> Increasing or decreasing the size of GUI elements with cmd +/cmd - in
>> MacOS or ctrl+/ctrl - in Windows and Linux.
>>
>> Collapse current browser with cmd M/ ctrl M.
>>
>> Expand the current browser with ctrl F/cmd F.
>>
>> Turn fullscreen on/off with F11 on Windows, Linux or ctrl command F in
>> MacOS.
>>
>>
>> Greetings, Matías.
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241112/f579641c/attachment.htm>
More information about the Cuis-dev
mailing list