[GNC] Short cuts for things

Adrien Monteleone adrien.monteleone at lusfiber.net
Thu Sep 10 17:41:53 EDT 2020



Regards,
Adrien

On 9/10/20 4:21 AM, Chris Green wrote:
> On Wed, Sep 09, 2020 at 11:36:16AM -0500, Adrien Monteleone wrote:
>> On 9/9/20 7:07 AM, Chris Green wrote:
>>> Is there a quick way to:
>>>
>>>       Get to the 'Accounts' tab, in order to select the next account for
>>>       entering a transaction.
>>
>> I could be wrong, but I don't think there is one built-in. You might be able
>> to set a custom accelerator for it. (see the wiki)
>>
> Pity, I'll look into customising though.

If you come up with something that works, please report back as I'm sure 
others may find it useful.
> 
> 
>> However, you can use Ctrl+Alt+PgUp/PgDn to cycle through open tabs.
>>
> Doesn't really get there much faster than just using the mouse does it.

Save you don't have to move your hand from the keyboard.
> 
>> (I find it odd that there isn't a built-in shortcut for the Accounts tab, or
>> one for simply opening an account via a pop-up search from anywhere)
>>
> Yes, exactly, there really does need to be a straightforward way to
> get to account X.
> 
>> If you are already on the Accounts tab, you can expand/collapse sections of
>> the tree with +/- and navigate with the up/down arrows. Pressing Enter will
>> open that register.
>>
> Yes, that's how I've been getting there, but you still need to get to
> the accounts tab first.

There was another reply about Ctrl/Cmd+i which does bring up that 
account search I referenced. However, at present there are still a few 
superfluous key presses needed to get the desired account open. But it 
is doable, without even using the Accounts tab at all, or the mouse.

Note, if you are editing a transaction and want to see it or edit it 
from the perspective of one of the other affected accounts, you can 
select the split line with that account in question, bring up the 
context menu and select 'Jump'.

I don't see a keyboard shortcut for 'Jump' in the Actions menu, but you 
might be able to assign one and shave some more time and/or clicks.

> 
> [snip]
>>>
>>>       'Enter' a transaction - i.e. a key to hit instead of having to
>>>       click on the + sign.
>>
>> When you open a register, you should automatically be in a blank
>> transaction. (focus is on the date field)
>>
>> If you were editing or focused on a previous (or future) transaction and
>> want to enter a new one, you can jump to the Blank Transaction via
>> Shift+PgDn.
>>
>> There is also Preferences > Register > Actions > 'Enter' moves to blank
>> transaction if you like.
>>
> Ah, not quite what I meant.  I want to have a way to store the
> transaction in GnuCash once I've finished entering its details.  As it
> is now it stays 'live' until you hit the + button.  I'm surprised
> actually that it doesn't default to 'storing' it when you leave the
> transaction.
> 
> In fact it's not very clear (to me, as a very new user) exactly when
> tranasactions get entered and/or when they are permanently stored.
> Even after hitting the + button there seems to be another stage as, on
> exit, it warns that you'll lose everything unless you 'save'.

I think this has been answered, but the documentation clearly says to 
hit the [Enter] key when done to commit the transaction. That *is* the 
meaning of the [Enter] key. (I think since the beginning of its 
existence on keyboards) It executes a command, commits data, or when 
functioning as a [Return] key, will jump to the beginning of the next 
line. (in the case of GnuCash, it commits the data *and* puts you in the 
next blank transaction with focus on the date field, so it performs both 
'Enter' and 'Return' functions)

'Enter' does not, for that key, mean 'go in to'. (but you can use it 
that way as noted in preferences)



More information about the gnucash-user mailing list