This is an automated archive made by the Lemmit Bot.

The original was posted on /r/neovim by /u/linkarzu on 2024-09-07 14:34:17+00:00.


  • I press hyper+t+r to open my daily note in neovim, it doesn’t matter what app I call this from, or if I call it from a different tmux session, it’s always going to take me to my daily note.
  • This is basically a script that I run, and I use karabiner-elements in combination with BetterTouchTool in macos
    • You don’t need karabiner or BetterTouchTool to run this, you can basically call this script from your terminal.
    • If you’re on Linux, there’s probably similar tools to karabiner and BetterTouchTool that can accomplish the same result, if you know which let me know down below in case I need to switch my daily driver to Linux
    • If you’re on Windows, open your notepad and take your note there
  • What happens in the background:
    • Create a daily note with the date-day for example 2024-06-30-Sunday inside the obsidian_main/250-daily/2024/06-Jun directory
      • If the directories do not exist it will create them
      • If the daily note doesn’t exist it will create it
    • Create a new tmux session with the note name in detached mode and start neovim with the daily note
      • If a tmux session with that name already exists, just switch to it
  • Here is the video