/toggl.vim

Toggl client in vim script

Primary LanguageVimLMIT LicenseMIT

toggl.vim

Toggl client for vimscript and vim.

Dependences

  • vital.vim
  • unite.vim (optional)

Usage

Set your API token

let g:toggl_api_token = "b51ff78xxxxxxxxxxxxxxxxxxxxxxxxx"

Set your workspace ID (optional) Note: If you don't set this, toggl.vim will default to your first workspace

let g:toggl_workspace_id = 987654321

Start task

:TogglStart task name +project @tag1 @tag2

Stop current task

:TogglStop

unite.vim interface

There are two sources:

:Unite toggl/task

which helps you to restart past time entries.

:Unite toggl/project

which helps you to change the project of current task.

License

MIT (see LICENSE file)