GitHunt
PH

phenax/neorg-timelog

Neorg module to allow logging time

neorg-timelog [WIP]

Neorg module to allow logging time

Install

For packer users -

  use {
    'nvim-neorg/neorg',
    -- ...
    requires = {
      -- ...
      {'phenax/neorg-timelog'},
    }
  }

Config

require('neorg').setup {
  load = {
    -- ...
    ['external.timelog'] = {
      config = {
        time_format = '%Y-%m-%d %H:%M:%S', -- Default config
      }
    }
  },
}

Usage

  • Add an empty @timelog data tag with a name
@timelog routine
@end
  • Run :Neorg timelog insert routine to update timelog with the name routine
  • Run :Neorg timelog insert * to update all timelogs in buffer
  • Run :Neorg timelog export ./log.json to export all timelogs from current buffer

Languages

Lua100.0%

Contributors

GNU General Public License v3.0
Created July 16, 2023
Updated June 21, 2025