An open API service indexing awesome lists of open source software.

https://github.com/phenax/neorg-timelog

Neorg module to allow logging time
https://github.com/phenax/neorg-timelog

neorg neorg-module neovim neovim-plugin nvim nvim-plugin

Last synced: 4 months ago
JSON representation

Neorg module to allow logging time

Awesome Lists containing this project

README

          

# neorg-timelog [WIP]
Neorg module to allow logging time

## Install

#### For [packer](https://github.com/wbthomason/packer.nvim) users -
```lua
use {
'nvim-neorg/neorg',
-- ...
requires = {
-- ...
{'phenax/neorg-timelog'},
}
}
```

#### Config
```lua
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
```neorg
@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