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

klog

by jotaen ST3

klog time tracking support for Sublime Text

Details

Installs

  • Total 80
  • Win 37
  • Mac 30
  • Linux 13
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 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 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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
Linux 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

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"},
]