Files
doom/metrics.el
tomatocream c021bc8452 Update Claude and theme configuration.
Configure claude-code/claudemacs runtime settings, switch theme setup to ewal-doom-one, and remove obsolete GPTEL setup docs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-05 21:16:11 +08:00

34 lines
911 B
EmacsLisp

;;; metrics.el -*- lexical-binding: t; -*-
;;; Keyfreq - Track command usage statistics
(use-package! keyfreq
:config
(keyfreq-mode 1)
(keyfreq-autosave-mode 1)
(setq keyfreq-file (concat doom-cache-dir "keyfreq")
keyfreq-file-lock (concat doom-cache-dir "keyfreq.lock"))
;; Optional: Exclude commands you don't want to track (uncomment to use)
;; (setq keyfreq-excluded-commands
;; '(self-insert-command
;; forward-char
;; backward-char
;; previous-line
;; next-line))
)
;;; Command Log Mode - visual log of keystrokes and commands
(use-package! command-log-mode
:config
;; Global mode to track everywhere
;; (global-command-log-mode 1) ; Uncomment if you want it always on (can be noisy)
(map! :leader
(:prefix ("t" . "toggle")
:desc "Toggle command log" "L" #'clm/toggle-command-log-buffer))
)