Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 789 Bytes

README.md

File metadata and controls

44 lines (36 loc) · 789 Bytes

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