如何让使用org capture写的日记按照捕获时间向下排序?

如图,我使用org capture来写日记,每次capture后会把以时间为headline的块插入journal.org文件中。问题是会插在当天日记的上面,这样从下往上看是逆序的,感觉不方便。如何让写的org capture的日记按照捕获时间先后向下排序?

我刚入门org capture,不懂Elisp,见谅。是需要修改模板吗?

1 个赞

需要改org-capture-templates里的设置,加一个:prepend t在对应的capture项里。对应的文档如下

:prepend            Normally newly captured information will be appended at
                    the target location (last child, last table line,
                    last list item...).  Setting this property will
                    change that.
1 个赞

谢谢@yangsheng6810 !