alanhamlett / kakoune-wakatime

WakaTime! For Kakoune! Yay!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wakatime.kak

This plugin commits your time spent in Kakoune to WakaTime! It'll try to use the system-wide WakaTime executable, a locally-installed one, or to download it itself. If it doesn't manage any of this, it should display an error, although UI elements in Kakoune might get a bit unpredictable with timings. Either way, things will be logged in the *debug* buffer, so check it when installing the plugin.

Basically, once WakaTime is configured, you shouldn't have to manipulate the plugin, unless you want to disable it temporarily.

Installing

You may put wakatime.kak in your autoload repository, located at $XDG_CONFIG_HOME/kak/autoload, or one of its subdirectories. The plugin will NOT work system-wide. You might need to write .wakatime.cfg yourself if you don't use WakaTime anywhere else.

Added keywords

  • option wakatime_file: The path to your WakaTime configuration file. (Default: ~/.wakatime.cfg)
  • option wakatime_options: The contents of this option will be appended when calling the WakaTime CLI.

Dependencies

  • coreutils
  • grep
  • python (Any version should work, this is a dependency of the WakaTime CLI)
  • unzip (Needed only to download WakaTime locally)
  • wakatime (We can download it ourselves if the required packages are present)
  • wget (Needed only to download WakaTime locally)
  • which

About

WakaTime! For Kakoune! Yay!