https://github.com/termoshtt/toggl.vim
Toggl client in vim script
https://github.com/termoshtt/toggl.vim
Last synced: 21 days ago
JSON representation
Toggl client in vim script
- Host: GitHub
- URL: https://github.com/termoshtt/toggl.vim
- Owner: termoshtt
- License: mit
- Created: 2015-05-14T16:11:22.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-29T05:29:28.000Z (almost 10 years ago)
- Last Synced: 2025-02-25T03:14:06.546Z (about 1 year ago)
- Language: VimL
- Homepage:
- Size: 20.5 KB
- Stars: 8
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
toggl.vim
=========
Toggl client for vimscript and vim.
Dependences
-----------
- vital.vim
- unite.vim (optional)
Usage
-----
Set your [API token](https://github.com/toggl/toggl_api_docs#api-token)
```vim
let g:toggl_api_token = "b51ff78xxxxxxxxxxxxxxxxxxxxxxxxx"
```
Set your [workspace ID](https://github.com/toggl/toggl_api_docs/blob/master/chapters/workspaces.md) (optional)
*Note: If you don't set this, toggl.vim will default to your first workspace*
```vim
let g:toggl_workspace_id = 987654321
```
Start task
```vim
:TogglStart task name +project @tag1 @tag2
```
Stop current task
```vim
:TogglStop
```
unite.vim interface
--------------------
There are two sources:
```vim
:Unite toggl/task
```
which helps you to restart past time entries.
```vim
:Unite toggl/project
```
which helps you to change the project of current task.
License
-------
MIT (see LICENSE file)