lurkio wrote: ↑
Fri Apr 30, 2021 3:04 pm
I never use Fn+Left, Fn+Right, Fn+Up or Fn+Down. In TextEdit (the native "built-in" macOs text editor), they don't perform any function.
OK, but I think that probably makes TextEdit an 'outlier'. It's pretty clear from the codes they generate that Fn+Left
are intended to be direct equivalents of the Home
, and PgDn
keys on a standard PC keyboard (and in the case of the first two this is confirmed by Apple themselves here
). You would expect a text editor to respond to those, and my SDLIDE editor does.
Where the complication arises appears to be that Macs and PCs define Home
differently, by default. On PCs Home and End are 'move to the beginning or end of the line
' but on Macs they are 'move to the beginning or end of the document
' (again that is confirmed here
So (short of a configuration option, which I really don't like) I'm not going to be able to please everybody, because I want Home
to work consistently in SDLIDE across all platforms. In practice that means I want them to work as they do in Windows (beginning and end of line
) and from the page I linked to it's pretty clear that people who have moved from a PC to a Mac want that too.
So that determines what FN+left
will (and indeed already) do in SDLIDE: move to the beginning and end of the line
. But that leaves some unanswered questions: principally what should Cmd+left
do, and what keyboard shortcuts on a Mac should move to the beginning and end of the document
For maximum compatibility and minimum irritation one option would be to make Cmd+left
do the same as Fn+left
(even though that feels like a wasteful duplication) and Cmd+up
move to the beginning and end of the document.