split which key config to init-which-key.el

This commit is contained in:
zedhugh committed 2022-10-27 00:49:39 +08:00
1 parent b682098611
commit f58a81b200
2 files changed
+26 -5

No files matched your search

+2 -5
View File
@@ -104,6 +104,7 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
(add-to-list 'load-path creature/pkg-dir t)
(add-subdirs-to-load-path creature/pkg-dir)
(require 'init-built-in)
(require 'init-git)
(require 'init-edit)
@@ -112,12 +113,8 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
(require 'init-keybindings)
(require 'init-tools)
(require 'init-ibuffer)
(require 'init-which-key)
(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 'toggle)
(setq custom-file (expand-file-name "custom.el" creature/cache-dir))
(when (file-exists-p custom-file)