Skip to content

vernarment/cjournal.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

cjournal.nvim

A minimalist daily journaling plugin for Neovim.

Features

  • Daily Journaling: Automatically creates and opens a markdown file named after the current date (MM-DD.md).
  • Customizable Templates: Populates new journal entries with a structured layout.
  • Quick Timestamps: Insert formatted time headers into your logs with a single keystroke.

Installation

Using lazy.nvim:

return {
  {
    "vernarment/cjournal.nvim",
    lazy = false,
    config = function()
      require("cjournal").setup({
        -- Optional configuration (defaults shown below)
        journal_dir = "~/journal",
        file_format = "%m-%d.md",
        date_format = "%d.%m.%Y",
        timestamp_format = "## %H:%M — ",
        template = {
          "# Journal ${date}",
          "",
          "## Done",
          "",
          "## Books",
          "",
          "## Ideas / Todo",
          "",
        },~/.config/nvim/lua/plugins/cjournal.lua
      })
    end,
  },
}

Showcase

image

About

minimalistic journal base neovim plugin.

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages