• 0 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • I use the plugins CustomJS, Dataview, and Templater to make this daily journal entry.

    A few notes about this template:

    • The file name is YYYY-MM-DD so I make an alias in the format of “Mon June 26 2023” so it’s easier for me to search for specific day later
    • I use CustomJS to import my dataviewjs files to display the previous and next days, any birthdays for today, and any backlinks to this journal entry
    • I used \ so this all displays in a single code block, don’t include these when using a template in obsidian
    ---
    aliases: <% tp.date.now("ddd MMMM D YYYY", 0, tp.file.title, "YYYY-MM-DD") %>
    title: 
    day: <% tp.file.title %>
    ---
    
    \```dataviewjs
    const {PreviousNextDay} = customJS
    PreviousNextDay.display(dv)
    \```
    
    ---
    
    # <% tp.date.now("ddd MMMM D YYYY", 0, tp.file.title, "YYYY-MM-DD") %>
    
    \```dataviewjs
    const {Birthdays} = customJS
    Birthdays.display(dv)
    \```
    
    \```dataviewjs
    const {Backlinks} = customJS
    Backlinks.display(dv)
    \```
    
    ## Journal
    
    

  • I’d recommend going into settings/options and having a look at the “Hotkeys” tab. There’s a lot of things that aren’t currently set, or default hotkeys that might be useful to you, like:

    • Toggle pin - (not set by default) I set this to ctrl + shift + p which pins the current tab so it can’t be replaced with another tab
    • Close current tab - By default it’s set to ctrl + w
    • Command palette - opens the command palette. By default it’s set to ctrl + p. The command palette is amazing because it shows you everything in the “Hotkeys” tab. So you don’t even need a hotkey set to use something. Like you can open the command palette and search for “release notes” and it will show you the current release notes. If you have the emoji plugin installed, you can open the command palette and search for “emoji” and it will open the emoji toolbar.
    • Quick switcher - search by note title. By default it’s set to ctrl + o. But I have the Omnisearch plugin installed so I set this hotkey to that instead.

    The plugin QuickAdd is really useful here as well, you can create your own hotkeys. I made one so when I press ctrl + n it creates a new note in a specific folder with today’s date and time as the file name, so I can quickly write something down.