Skip to content

productivitykit/org-journal.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

org-journal.nvim

A daily journal plugin for nvim-orgmode.

Installation

In this example, we're using lazy.nvim as our package manager and including org-journal.nvim as a dependency of nvim-orgmode:

{
  "nvim-orgmode/orgmode",
  dependencies = {
    {
      "productivitykit/org-journal.nvim",
      cmd = "OrgJournal"
    }
  }
}

Usage

Open the current journal entry:

:OrgJournal
  • Creates journal files organized by date
  • Automatically creates parent directories as needed
  • Supports all os.date() format codes: %Y, %m, %d, %A, %B, etc.

Configuration

To customize the behavior, call setup() with your desired options:

  • org_journal_dir: Directory where journal files are stored
  • org_journal_file_format: Date format for journal filenames
  • org_journal_file_template: Template content inserted into new journal files (supports date formatting)

Default configuration:

require('org-journal').setup({
  org_journal_dir = '~/orgfiles/journal/',
  org_journal_file_format = '%Y/%m/%d.org',
  org_journal_file_template = '* %Y-%m-%d',
})

About

A daily journal for nvim-orgmode

Topics

Resources

License

Stars

Watchers

Forks

Languages