Config: add exwm support, install consult-notes, fix some keybinding.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user