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