[GNC] keyboard shortcut - how to implement for open/close splits?
Michael Hendry
hendry.michael at gmail.com
Tue Sep 12 13:42:11 EDT 2023
On 12 Sep 2023, at 18:17, George Riner <georgeriner at mycogeo.com> wrote:
>
> I really wish there was a keyboard shortcut to open/close the Splits on the transaction I'm in.
>
> Is there some edit I can make to a file somewhere in gnucash that would make this effect?
>
> :George
>
> GnuCash Version: 4.13
> Build ID: 4.13+(2022-12-17)
> Windows 10 22H2 (build 19045.3324)
Hi, George.
Have a look here:
https://wiki.gnucash.org/wiki/Keyboard_Shortcuts
I use a Mac, so the file I’ve edited is
~/Library/Application Settings/Gnucash/acclerator-map;
and the necessary lines are:
(gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/0" "<Primary>1")
(gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/1" "<Primary>2")
(gtk_accel_path "<Actions>/GncPluginPageRegisterActions/ViewStyleRadioAction/2" "<Primary>3")
which opens the Basic Ledger view with Cmd-1, AutoSplit Ledger with Cmd-2 and Transaction Journal with Cmd-3.
I think this should be enough to get you started.
Regards,
Michael
More information about the gnucash-user
mailing list