Hi John,

Thanks for the clarification. Wish you a nice day ahead.

Best Regards,
Pat

Am Dienstag, 2. Juni 2026 schrieb John Ralls <[email protected]>:

>
>
> > On Jun 2, 2026, at 01:36, Don Patzone <[email protected]> wrote:
> >
> > Hi,
> >
> > I'm currently trying to get a shortcut working to have a sort of Emacs
> > style line navigation. What I want to achieve is to navigate up and
> > down in transactions as well as individual lines, if I make a split
> > transaction.
> >
> > I have dug through the documentation and saw that this *should* be
> > possible by creating a binding-set in the gtk-3.css in my
> > GNC_CONFIG_HOME.
> >
> > I created the following binding for testing
> > ```
> > @binding-set navigation
> > {
> >  bind "<ctrl>k" { "move-cursor" (display-lines, -1, 0) };
> >  bind "<ctrl>j" { "move-cursor" (display-lines, 1, 0) };
> > }
> >
> > entry {
> >     -gtk-key-bindings: navigation;
> >   }
> > ```
> >
> > There is even a template for Emacs style keybindings in the GNC
> > install dir, where it references this signal. This is where I took it
> > from.
> >
> > It does not work.
> >
> > However when I tried it temporarily with the signal
> > `logical-positions` to move along the line it works.
> >
> > Is the `display-lines` signal even supported the way I want? Or am I
> > overlooking something?
> >
> > I'm using Win11 with version 5.3 due to some specific compatibility
> > issues with GNUCash Mobile I ran into later versions. But I also tried
> > it with version 5.14. Same issue.
> >
> > I have gone through the mailing-list archive, but couldn't find
> > anything that could help my solve my problem.
> >
> > Could anyone chime in with more knowledge on the internals and
> > possibly provide more insight, if this is possible?
> >
> > Many thanks in advance!
>
> Sorry, it’s not possible. The register has custom, hard-coded, motion-key
> handling that works only with tab, page-up, page-down, and the up and down
> arrow keys. Home, end, and the left and right arrow keys work inside fields
> but won’t move between fields.
>
> Regards,
> John Ralls
>
>
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to