Files
creature/lisp/init-which-key.el
zedhugh b5d9ce18a7 use "creature/pkg-active" manage packages manually
- replace "add-pkg-in-pkg-dir" (recursive load-path scanning) with a
  central "creature/pkgs" registry that handles load path, autoloads,
  info dirs and dependencies
- adapt all init-*.el files to the new activation function
- add a top-level Makefile to byte-compile site-lisp packages
- remove unused "emacs-kv" and "emacs-db" submodules
2026-09-14 15:02:43 +08:00

28 lines
550 B
EmacsLisp

;; -*- coding: utf-8; lexical-binding: t; -*-
(unless (locate-library "which-key")
(require 'init-package)
(creature/pkg-active 'which-key))
(require 'init-keybindings)
(require 'which-key)
(setq which-key-show-early-on-C-h t)
(setq which-key-idle-delay 10000)
(setq which-key-idle-secondary-delay 0.05)
(which-key-mode 1)
(which-key-add-keymap-based-replacements
creature/map
"b" "buffer"
"c" "comments"
"f" "files"
"g" "magit"
"gf" "magit files"
"h" "help"
"q" "quit option"
"j" "jump")
(provide 'init-which-key)