HOME and END keys do not work

Ro
Ronen
Posts: 10
Joined: Tue Jun 30, 2020 2:15 am
Platform: Mac + Windows

Tue Jun 30, 2020 2:27 am Post

Hi,
I'm using Apple magic Keyboard (num keys included),
the "home" and "end' keys work as expected on other applications I've tested (jumping cursor to start/end of the line) but in Scrivener they have the same functionality as "page up" and "page down".
I tried to assign them as shortcut keys for Scrivener, but they can't be assigned.
Does anybody know how to make them work in Scrivener as they do in other applications?

MacOS Catalina 10.15.5
Scrivener 3.1.5

Thanks!

br
brookter
Posts: 2097
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Thu Jul 02, 2020 10:17 am Post

AIUI, that's working as intended: for Apple HOME is beginning of document, END is end of document, so Scrivener sounds like it's working as intended.

The equivalents for beginning/end of line are cmd-left/right.

This is from the official Apple documentation:

On your Mac, use the Command and arrow keys to go to the beginning or end of the current line, and use the Home and End keys to go to the beginning or end of the current document.


https://support.apple.com/en-gb/guide/mac-help/cpmh0152/mac

HTH.

Ro
Ronen
Posts: 10
Joined: Tue Jun 30, 2020 2:15 am
Platform: Mac + Windows

Thu Jul 02, 2020 10:48 am Post

Thanks Brookter, wasn't aware.
I wonder then what's the PageUp & PageDown keys are for, the Apple doc doesn't mention them.
In scrivener they have identical functionality at Home & End :shock:

br
brookter
Posts: 2097
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Fri Jul 03, 2020 7:00 am Post

I can't test this as I don't have a keyboard with those keys on, but I think it's

HOME / fn-left / cmd-up = beginning of document
END / fn-right / cm d-down = end of document
PAGE UP / fn-up = screen up
PAGE DOWN / fn-down = screen down

Others:
BEGINNING OF LINE = cmd-left / ctl-a
END OF LINE = cmd-right / Ctl-e

HTH.

Ro
Ronen
Posts: 10
Joined: Tue Jun 30, 2020 2:15 am
Platform: Mac + Windows

Fri Jul 03, 2020 10:11 am Post

yes, you're right, though I'm not a fan of this setup, especially not on an external keyboard that's more spaced apart.
but I just found this: https://karabiner-elements.pqrs.org/ - which solved all my problems.
Thanks for you help :)

br
brookter
Posts: 2097
Joined: Wed Mar 18, 2009 12:22 pm
Platform: Mac

Fri Jul 03, 2020 10:40 am Post

Karabiner Elements is brilliant!

I have it set up so that:

* Caps Lock is Escape when tapped and Control when held down with another key
* Return is Return when tapped and Control when held down with another key
* Right Opt and Right Cmd are swapped round (easier to use for accents / navigation)
* Press both shifts together for the occasional time I actually need Caps Lock

I'm only scratching the surface of what it can do, though, but these 4 changes make typing a lot more comfortable and efficient... I hope you enjoy it!