Neorg module to allow logging time
For packer users -
use {
'nvim-neorg/neorg',
-- ...
requires = {
-- ...
{'phenax/neorg-timelog'},
}
}
require('neorg').setup {
load = {
-- ...
['external.timelog'] = {
config = {
time_format = '%Y-%m-%d %H:%M:%S', -- Default config
}
}
},
}
- Add an empty
@timelog
data tag with a name
@timelog routine
@end
- Run
:Neorg timelog insert routine
to update timelog with the nameroutine
- Run
:Neorg timelog insert *
to update all timelogs in buffer - Run
:Neorg timelog export ./log.json
to export all timelogs from current buffer