;; -*- lexical-binding: t; -*-

(require 'syd/base)
(require 'syd/org)

(use-package org-srs
  :defer t
  :hook (org-mode . org-srs-embed-overlay-mode)
  :bind (:map org-mode-map
         ("<f5>" . org-srs-review-rate-easy)
         ("<f6>" . org-srs-review-rate-good)
         ("<f7>" . org-srs-review-rate-hard)
         ("<f8>" . org-srs-review-rate-again)))

(use-package org-srs
  :when (eq system-type 'android)
  :defer t
  :custom
  (org-srs-item-confirm #'org-srs-item-confirm-command)
  :config
  (org-srs-mouse-mode +1))

(provide 'syd/org/srs)
