Giter Club home page Giter Club logo

vim-airline-tomato's Introduction

vim-airline-tomato
==================
  
## Introduction
This is a vim-airline extension for an easy application of the [Pomodoro Technique](http://en.wikipedia.org/wiki/Pomodoro_Technique).
  
## Required
* [Airline](https://github.com/bling/vim-airline): The extension is based on vim-airline (like powerline, but faster and with a deeper KISS flavor)
* [powerline-font](https://github.com/Lokaltog/powerline-fonts): if you use wild char's, you may need install powerline font.

## Optional
* [pomicons](https://github.com/gabrielelana/pomicons): This is a font with 8 symbols to talk about the "Pomodoro Technique"® (You can use these special symbols to change the configuration). You can use one of the [awesome-terminal-fonts](https://github.com/gabrielelana/awesome-terminal-fonts) that contains both powerline and pomicons symbols.
   
## Configuration
* If you want to change the working time:
> let g:tomato#interval = 60 * 60
  
* If you wat to change rest time:
> let g:tomato#rest_time = 20 * 60
  
* If you want to change language(English or Chinese):
> let g:tomato#lang = 'chinese'
  
* If you want to change working text:
> let g:tomato#remind = "☻"  (" \uf003 " if you are using [awesome-terminal-fonts](https://github.com/gabrielelana/awesome-terminal-fonts))
  
* If you want to change rest text:
> let g:tomato#restinfo = "☺" (" \ue1f1 " if you are using [awesome-terminal-fonts](https://github.com/gabrielelana/awesome-terminal-fonts))

* If you want to enable clock:
> let g:tomato#show_clock = 1

* If you want to show a count down:
> let g:tomato#show_clock = 1  
> let g:tomato#show_count_down = 1 


## Reset (reset the count of tomato to be one)
*  manually reset
>  :call tomato#reset()
  
*  set auto reset when number over a value
>  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
![pomicons](https://github.com/gabrielelana/vim-airline-tomato/raw/pomicons-configuration/.screenshot/pomicons.png)

## Thanks
> Gabriele Lana <[email protected]> (for providing awesome fonts)  
> [hellolj](https://github.com/hellolj) (for README gramma check)  
> [CodeFalling](https://github.com/CodeFalling) (for providing functions clock and countdown)  

## License
> [MIT](https://raw.githubusercontent.com/Zuckonit/vim-airline-tomato/master/LICENSE)


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

vim-airline-tomato's People

Contributors

danielmschmidt avatar gabrielelana avatar hellolj avatar xcodebuild avatar zuckonit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vim-airline-tomato's Issues

Create commands

Would interesting create command for plugin. For example:

  • Restart pomodoro;
  • Go to interval;

What do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.