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
- Host: GitHub
- URL: https://github.com/phenax/neorg-timelog
- Owner: phenax
- License: gpl-3.0
- Created: 2023-07-16T10:07:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-08T14:37:13.000Z (about 2 years ago)
- Last Synced: 2025-03-06T08:57:18.301Z (7 months ago)
- Topics: neorg, neorg-module, neovim, neovim-plugin, nvim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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