From 7d398a66c82198f940948600450f08e4353e66bc Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 9 Mar 2024 15:04:21 +0100 Subject: [PATCH] Replace counsel Org heading dispatch by org-refile This is nice enough and removes the last dependency to counsel :) --- init.el | 4 ---- site-lisp/db-org.el | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/init.el b/init.el index 15fa379..0852f52 100644 --- a/init.el +++ b/init.el @@ -2163,10 +2163,6 @@ Note that this workaround is incomplete, as explained in this comment." ;; functionality. (define-key ivy-minibuffer-map (kbd "S-SPC") nil))) -(use-package counsel - :ensure t - :commands (counsel-org-goto-all)) - (use-package swiper :ensure t :commands (swiper diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index e76c301..0e4ef1d 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -19,7 +19,6 @@ (require 'ox-icalendar) (require 'org-ql) -(autoload 'counsel-org-goto-all "counsel") (autoload 'which-function "which-func") (autoload 'org-element-property "org-element") @@ -1045,7 +1044,7 @@ Current Task: %s(replace-regexp-in-string \"%\" \"%%\" (or org-clock-current-tas " ("c" (db/org-clock-goto-first-open-checkbox nil) nil) - ("a" counsel-org-goto-all nil) + ("a" (org-refile '(4)) nil) ("s" (db/org-clock-goto-first-open-checkbox t) nil))