Am Samstag, 22. Juni 2019 07:22:03 UTC+2 schrieb Daniele Nicolodi:
>
> Hello Uwe, 
>
> On 21-06-2019 15:04, Uwe Ziegenhagen wrote: 
> > Hi there, I have a few questions regarding the emacs mode and hope that 
> > you can help me: 
> > 
> > 1) I have created the following file (see the bottom). Given that I want 
> > to create another transaction are there any commands I can use as a 
> > template (then jumping from field to field via tab). Does anyone of you 
> > have maybe yas snippets in use? 
>
> I don't feel the need for this of facility.  Because of the terseness of 
> the beancount syntax, there a templating functionality would not spare 
> you much typing: here is not much more than quotes "" around the 
> narration that a template could insert for you. 
>
>
What I could imagine is the following: a key combination inserts

a) the current date in ISO notation, e.g. 2019-06-22
b) the "*" as most transactions I enter will be checked
c) the quotation marks "" with the cursor placed between them
d) two tab positions for the at least two accounts  with the amounts.

I'll see if I come up with a snippet, it's something I'll try.

Your remark regarding the fixed values in the .el is highly appreciated. It 
works nicely.

Uwe

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/69777c9a-8c8b-45b1-9269-4482c34d3185%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to