zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

'Tomorrow Note' Shortcut #907

Closed bwat47 closed 4 years ago

bwat47 commented 4 years ago

Trilium has a shortcut to create a 'today note' in the calendar hierarchy (ctrl + alt + p)

for me it would be useful if there was also a shortcut to automatically create a new note under tomorrow's date

leoossa commented 4 years ago

You can easily achieve this with Scripting. Base your button on: https://github.com/zadam/trilium/wiki/Day-notes https://github.com/zadam/trilium/wiki/Task-manager (basically what I would do at your place is just copy the 'Day note' Button and change in one place to get tomorrow's date instead of today's)

zadam commented 4 years ago

Yes, @leoossa is correct, this should be easily scriptable. Actually even the "Today" button is just a script, not part of the "core" Trilium (although provided in the demo document).

bwat47 commented 4 years ago

I couldn't javascript my way out of a paper bag, so I haven't had any luck scripting this myself :)

I think this previously entered feature request I just came across would do exactly what I'm looking for though: #50

bwat47 commented 4 years ago

actually, it looks like #50 is already implemented lol... if I say click on the 28th in the calendar widget it creates a 28th day note!!! so I'll close this :)

zadam commented 4 years ago

Yes, calendar widget can do that, but this widget is present only on day notes. That's why #50 is stil open, that one should be triggerable from anywhere ...