Vim plugin for Unfog CLI task & time manager.
First you need to install the unfog CLI:
curl -sSL https://raw.githubusercontent.com/soywod/unfog/master/install.sh | sh
Then you can install this plugin with your favorite plugin manager. For eg:
with vim-plug, add to your
It is recommanded to first read the Unfog CLI documentation to understand the concept.
To list tasks:
Then you can manage tasks using Vim mapping. The table will automatically
readjust on buffer save (
:w). Also have a look at the mappings
section for special actions.
gc (Go to Context).
gw (Go to Worktime).
Here the default mappings:
|List done tasks||
|List deleted tasks||
|Show task infos||
|Jump to the next cell||
|Jump to the prev cell||
|Delete in cell||
|Change in cell||
|Visual in cell||
You can customize them:
nmap gd <plug>(unfog-list-done) nmap gD <plug>(unfog-list-deleted) nmap <cr> <plug>(unfog-toggle) nmap K <plug>(unfog-info) nmap gc <plug>(unfog-context) nmap gw <plug>(unfog-worktime) nmap <c-n> <plug>(unfog-next-cell) nmap <c-p> <plug>(unfog-prev-cell) nmap dic <plug>(unfog-delete-in-cell) nmap cic <plug>(unfog-change-in-cell) nmap vic <plug>(unfog-visual-in-cell)
Git commit messages follow the Angular Convention, but contain only a subject.
Use imperative, present tense: change not changed nor changes
Don't capitalize first letter
No dot (.) at the end
Code should be as clean as possible, variables and functions use the camel case
convention. A line should never contain more than
Tests should be added for each new functionality. Be sure to run tests before proposing a pull request.