Config: add exwm support, install consult-notes, fix some keybinding.

This commit is contained in:
2026-04-19 10:59:01 +08:00
parent fffd35f8ed
commit 8576ac275a
11 changed files with 110 additions and 24 deletions

View File

@@ -114,6 +114,11 @@
("C-x C-d" . consult-dir)
("C-x C-j" . consult-dir-jump-file)))
(use-package consult-notes
:config
(setq consult-notes-file-dir-sources '(("org notes" ?n "~/org/my-org-note/")
("org journal" ?j "~/org/my-org-daily/" :hidden t))))
;; embark
(use-package embark
:config (setq prefix-help-command 'embark-prefix-help-command)
@@ -239,7 +244,7 @@ targets."
("M-Z" . avy-zap-up-to-char-dwim)))
;; jinx拼写检查
(if *is-mac*
(unless *is-windows*
(use-package jinx
:hook (org-mode-hook . jinx-mode)
:bind ([remap ispell-word] . jinx-correct)
@@ -280,6 +285,12 @@ targets."
(unless *is-windows*
(use-package vterm))
;; general
(use-package general)
;; popup
(use-package popup)
(provide 'init-package)
;;; init-package.el ends here