Giter VIP home page Giter VIP logo

harvestime's Introduction

Harvestime

This library is a very lightweight time calculator for time-tracking in plain-text. The library expects a very specific format for tracking time:

  Monday August 8, 2011
  =====================

  09:00 - 09:08  0:08 Description of task
  14:23 - 15:33  1:10 Another task

Each log entry has the the following format:

  HH:MM - HH:MM HH:MM Description

Where the first time is the start time, the second is the end time, and the third is the total amount of time spent (the difference between the two). Time is kept using a 24-hour clock. Descriptions can be anything you want. The time difference is space-padded instead of 0-padded. Thus, the columns should always line up.

Vim integration

To aid with time-tracking this library provides a small vim plugin. To install, use pathogen and clone this repository into your vim bundle directory.

The default mapping is <leader>t. On a blank line in normal mode, type <leader>t and the current timestamp will be inserted. When you are done with a task, type <leader>t again. This will insert the timestamp again.

A third invocation of the plugin will calculate the time difference between the start and end times and insert it after the time range.

The plugin is simple, but it will allow you to have a description on the line at any phase, and should leave it intact when inserting timestamps.

harvestime's People

Contributors

jgdavey avatar

Watchers

 avatar

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.