Config: fix my/org-agenda-rifle function
This commit is contained in:
@@ -144,7 +144,6 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
;; 关闭主题
|
||||
(global-set-key (kbd "C-c u d") 'disable-theme)
|
||||
(global-set-key (kbd "C-c u f") 'describe-face)
|
||||
(global-set-key (kbd "C-c u c") 'my-color-picker)
|
||||
(global-set-key (kbd "C-c u r") 'rainbow-mode)
|
||||
|
||||
;; indent-bars
|
||||
@@ -311,10 +310,10 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
|
||||
(global-set-key (kbd "C-c o s") 'consult-org-agenda)
|
||||
|
||||
;; 用ripgrep搜索org-agenda-file
|
||||
(defun my/org-agenda-rifle (dirs-to-exclude)
|
||||
(defun my/org-agenda-rifle ()
|
||||
"Jump to org agenda files use consult-ripgrep."
|
||||
(interactive)
|
||||
(consult-ripgrep org-agenda-files)
|
||||
(consult-ripgrep org-agenda-files))
|
||||
|
||||
(global-set-key (kbd "C-c o g") 'my/org-agenda-rifle)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user