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 d") 'disable-theme)
|
||||||
(global-set-key (kbd "C-c u f") 'describe-face)
|
(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)
|
(global-set-key (kbd "C-c u r") 'rainbow-mode)
|
||||||
|
|
||||||
;; indent-bars
|
;; 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)
|
(global-set-key (kbd "C-c o s") 'consult-org-agenda)
|
||||||
|
|
||||||
;; 用ripgrep搜索org-agenda-file
|
;; 用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."
|
"Jump to org agenda files use consult-ripgrep."
|
||||||
(interactive)
|
(interactive)
|
||||||
(consult-ripgrep org-agenda-files)
|
(consult-ripgrep org-agenda-files))
|
||||||
|
|
||||||
(global-set-key (kbd "C-c o g") 'my/org-agenda-rifle)
|
(global-set-key (kbd "C-c o g") 'my/org-agenda-rifle)
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,8 @@
|
|||||||
colors))))
|
colors))))
|
||||||
(string-trim (car (split-string choice)))))
|
(string-trim (car (split-string choice)))))
|
||||||
|
|
||||||
|
(global-set-key (kbd "C-c u c") 'my-color-picker)
|
||||||
|
|
||||||
;; rainbow mode
|
;; rainbow mode
|
||||||
(use-package rainbow-mode)
|
(use-package rainbow-mode)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user