ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

klog

by jotaen ST3

klog time tracking support for Sublime Text

Details

Installs

  • Total 67
  • Win 31
  • Mac 24
  • Linux 12
May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

klog for Sublime Text

This package provides support for working with klog time tracking files in the Sublime Text editor.

A klog file with sample data

Features

  • Syntax highlighting
  • Smart completion for inserting the current date or time. For example:
    • Typing today completes to the current date
    • Typing now completes to the current time
  • A few sensible default settings for the .klg file format

Configuration

Colour overrides

The pre-defined syntax highlighting should look meaningful in most available colour schemes.

For klog-specific customisations, you can specify the following colour overrides:

  • markup.other.date.klog For the date, e.g. 2022-03-15
  • markup.other.should_total.klog For the should total, e.g. (8h!)
  • markup.other.summary.klog For summary text
  • markup.other.summary.tag.klog For tags inside summaries, e.g. #work
  • markup.other.duration_positive.klog For positive durations, e.g. 5h25m
  • markup.other.duration_negative.klog For negative durations, e.g. -15m
  • markup.other.range.klog For ranges, e.g. 8:00 - 9:20
  • markup.other.open_range.klog For open ranges, e.g. 14:30 - ?

You can achieve this by adding entries (see Sublime docs) to the rules list of your scheme’s customisation file:

"rules": [
    {"scope": "markup.other.range.klog", "foreground": "#76c7ff"},
]