yaohunzhanyue / collcetion

6 stars 0 forks source link

Zuckonit/vim-airline-tomato: Pomodoro Technique #52

Open yaohunzhanyue opened 4 years ago

yaohunzhanyue commented 4 years ago

vim-airline-tomato

Introduction

This is a vim-airline extension for an easy application of the Pomodoro Technique.

Required

Optional

Configuration

let g:tomato#interval = 60 * 60

let g:tomato#rest_time = 20 * 60

let g:tomato#lang = 'chinese'

let g:tomato#remind = "☻" (" \uf003 " if you are using awesome-terminal-fonts)

let g:tomato#restinfo = "☺" (" \ue1f1 " if you are using awesome-terminal-fonts)

let g:tomato#show_clock = 1

let g:tomato#show_clock = 1
let g:tomato#show_count_down = 1

Reset (reset the count of tomato to be one)

:call tomato#reset()

let g:tomato#auto_reset_num = 24 (here put the number you wanna set)
if the g:tomato#auto_reset_num = -1, then the auto reset will be forbidden
if there is no g:tomato#auto_reset_num in your config, the default auto_reset_num is 24 * 60 / g:tomato#interval, the total tomato numbers of one day.

Screenshot

Thanks

Gabriele Lana gabriele.lana@gmail.com (for providing awesome fonts)
hellolj (for README gramma check)
CodeFalling (for providing functions clock and countdown)

License

MIT

============================================================================== vim:tw=78:ts=8:ft=help:norl:noet:fen:fdl=0: