Feature request: Add Page Up, Page Down, Home, and End cursor actions for use in layouts
Use Case
The keyboard currently provides four cursor movement actions (up, down, left, right) which send D-pad KeyEvents and can be placed in custom layouts via !icon/action_up|!code/action_up etc. However, there is no way to move the cursor by larger jumps:
Page Up / Page Down — quickly navigating long documents, notes, code files, or terminal apps (e.g. Termux) without hammering the up/down arrows Home / End — jumping to the start or end of the current line, one of the most common editing motions when writing or coding on mobile
These are especially valuable for custom layouts aimed at text editing, SSH/terminal use, and external-display productivity setups. Holding a repeatable arrow key is a poor substitute for a single deliberate jump.
Proposal:
Add four new actions to the action registry — e.g. page_up, page_down, home, end — implemented the same way as the existing arrow actions, but sending KEYCODE_PAGE_UP (92), KEYCODE_PAGE_DOWN (93), KEYCODE_MOVE_HOME (122), and KEYCODE_MOVE_END (123) respectively. This would automatically make them available both as action-bar actions and as layout keys via the !icon/action_X|!code/action_X keyspec syntax, with no changes needed to the layout format itself.
References:
Existing arrow actions in java/src/org/futo/inputmethod/latin/uix/actions/ (Registry.kt) Android KeyEvent constants: KEYCODE_PAGE_UP/DOWN, KEYCODE_MOVE_HOME/END
Making a suggestion for the devs: It would be good to add them as long-press Quick actions too. Would be good for casual users(or ones who do not use/know of Developer mode) too.
Recently noticed that FUTO support Copy, Paste, Cut and Select All with long-presses on C, P, V, X and A. It is quite cool and probably should be talked about more.
So, maybe H for Home and E for End would be good?
Yes, I use them on HeliBoard as long press actions. On "S" key I have "Move to Start of Line" and on "E" key I have "Move to End of Line".
Similarly for "P", "Top of Page" and for "L", "Bottom of Page"
These shortcuts make it so that I never have to use edit mode.
Hopefully this gets implemented in the v0.1.30
@Humorist2601 A release candidate being out normally implies a feature freeze but maybe next version :)
8. @Humorist2601 A release candidate being out normally implies a feature freeze but maybe next version :)
I guess this didn't make it into v0.1.30, but will hope it makes it in the next version. My request for Home and End keys (#1080) duplicates some of your points, as does #525. Perhaps these can be consolidated. These features would really make navigation much easier.