feat(config): Update ibuffer filter and improve denote setup
This commit is contained in:
@@ -197,7 +197,9 @@
|
|||||||
(name . "^*Buffer List*")
|
(name . "^*Buffer List*")
|
||||||
(name . "\\*discomfort\\*")
|
(name . "\\*discomfort\\*")
|
||||||
(mode . calendar-mode)
|
(mode . calendar-mode)
|
||||||
(mode . grep-mode))))))
|
(mode . grep-mode)
|
||||||
|
(mode . proced-mode)
|
||||||
|
(mode . syncthing-mode))))))
|
||||||
|
|
||||||
(add-hook 'ibuffer-hook
|
(add-hook 'ibuffer-hook
|
||||||
(lambda () (ibuffer-switch-to-saved-filter-groups "Main")
|
(lambda () (ibuffer-switch-to-saved-filter-groups "Main")
|
||||||
|
|||||||
@@ -83,12 +83,14 @@
|
|||||||
(setq denote-directory "H:/emacs/my-org-note/"))
|
(setq denote-directory "H:/emacs/my-org-note/"))
|
||||||
(t
|
(t
|
||||||
(setq denote-directory "~/org/my-org-note/")))
|
(setq denote-directory "~/org/my-org-note/")))
|
||||||
|
:init
|
||||||
(setq denote-prompts '(title signature keywords))
|
(setq denote-prompts '(title signature keywords))
|
||||||
(setq denote-title-history nil)
|
(setq denote-title-history nil)
|
||||||
(setq denote-signature-history
|
(setq denote-signature-history
|
||||||
'("note" "project" "fun" "wisdom" "article" "data" "metanote" "agenda" "journal" "archive"))
|
'("note" "project" "fun" "wisdom" "article" "data" "metanote" "agenda" "journal" "archive"))
|
||||||
(setq denote-known-keywords
|
(setq denote-known-keywords
|
||||||
'("emacs")))
|
'("emacs"))
|
||||||
|
(setq denote-title-history nil))
|
||||||
|
|
||||||
;; denote-org
|
;; denote-org
|
||||||
(use-package denote-org)
|
(use-package denote-org)
|
||||||
|
|||||||
@@ -58,7 +58,9 @@
|
|||||||
|
|
||||||
(use-package consult-jinx
|
(use-package consult-jinx
|
||||||
:straight
|
:straight
|
||||||
(:host github :repo "Andsy10/consult-jinx")))
|
(:host github :repo "Andsy10/consult-jinx")
|
||||||
|
:init
|
||||||
|
(setq consult-jinx-candidate-style 'compact)))
|
||||||
|
|
||||||
;; eat,终端
|
;; eat,终端
|
||||||
(unless *is-windows*
|
(unless *is-windows*
|
||||||
|
|||||||
Reference in New Issue
Block a user