Config: add org agenda files to recentf-exclude, add basic projectile config.
This commit is contained in:
@@ -43,7 +43,8 @@
|
||||
"m" 'consult-fd-global
|
||||
"d" 'my-open-current-directory
|
||||
"j" 'consult-jinx
|
||||
"k" 'consult-kmacro)
|
||||
"k" 'consult-kmacro
|
||||
"o" 'consult-outline)
|
||||
|
||||
;; t for modes toggle
|
||||
(general-def
|
||||
@@ -167,7 +168,7 @@
|
||||
"e" 'er/expand-region
|
||||
"s" 'consult-focus-lines
|
||||
"i" 'consult-imenu
|
||||
"C-i" 'consult-outline
|
||||
"I" 'consult-imenu-multi
|
||||
"a" 'org-agenda
|
||||
"l" 'org-store-link
|
||||
"k" 'comment-line
|
||||
|
||||
@@ -46,6 +46,9 @@
|
||||
(sequence "WAITING(w@/!)" "SOMEDAY(S)" "|" "CANCELLED(c@/!)" "MEETING(m)" "PHONE(p)"))))
|
||||
|
||||
;; agenda相关
|
||||
(with-eval-after-load 'recentf
|
||||
(add-to-list 'recentf-exclude "~/org/.*\\.org\\'"))
|
||||
|
||||
(cond
|
||||
(*is-windows*
|
||||
(setq org-agenda-files '("h:/emacs/hugo/this-is-my-blog/all-blog.org"
|
||||
|
||||
@@ -227,9 +227,15 @@ targets."
|
||||
;; expand-region,快速展开选中
|
||||
(use-package expand-region)
|
||||
|
||||
;; ibuffer-projectile
|
||||
;; projectile
|
||||
(use-package projectile
|
||||
:init (projectile-mode)
|
||||
:bind (:map projectile-mode-map
|
||||
("C-x p" . projectile-command-map))
|
||||
:config (setq projectile-enable-caching t))
|
||||
|
||||
(use-package ibuffer-projectile
|
||||
:config (add-hook 'ibuffer-hook
|
||||
:init (add-hook 'ibuffer-hook
|
||||
(lambda ()
|
||||
(ibuffer-projectile-set-filter-groups)
|
||||
(unless (eq ibuffer-sorting-mode 'alphabetic)
|
||||
|
||||
Reference in New Issue
Block a user