Habitica Wiki
Habitica Wiki

Description

Emacs extension to view, add and update tasks for Habitica (not functioning anymore; Elisp has changed)

Installation

Install from MELPA with:

M-x package-install habitica
or load the file habitica.el.

In both cases, you have to set your Habitica user ID and token in your configuration file with this Elisp chunk:

(setq habitica-uid "123")
(setq habitica-token "456")
You can find your uid and token by following the instructions here.

Note that it seems to not work in its current state; if you know how to write Elisp and can convert this into a more modern API system, then fork it and edit this page to reflect such.

Usage

To see your tasks, call

M-x habitica-tasks

Shortcuts

Place your cursor on the task, then use these keybinds:

  • C-x t n => new task
  • C-x t t => cycle todo/done
  • C-x t + => + a habit
  • C-x t - => - a habit
  • C-x t d => set deadline (due date)
  • C-x t i => set difficulty
  • C-x t D => delete the task
  • C-x t b => buy reward
  • C-x t g => refresh


Highlighting

If you want to try highlighting tasks based on their value, add this to your configuration file:

(setq habitica-turn-on-highlighting t)
This is very experimental.

Streak count

If you want the streak count to appear as a tag for your Dailies, add this to your configuration file:

(setq habitica-show-streak t)