Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel - 7d398a66c8
Replace counsel Org heading dispatch by org-refile
This is nice enough and removes the last dependency to counsel :)
2024-03-09 15:04:21 +01:00
Daniel - aadca01244
Simplify Org clocking hydra
No need to define an anonymous function her, just make the call
directly.
2024-03-09 15:03:10 +01:00
2 changed files with 3 additions and 12 deletions

View File

@ -2163,10 +2163,6 @@ Note that this workaround is incomplete, as explained in this comment."
;; functionality. ;; functionality.
(define-key ivy-minibuffer-map (kbd "S-SPC") nil))) (define-key ivy-minibuffer-map (kbd "S-SPC") nil)))
(use-package counsel
:ensure t
:commands (counsel-org-goto-all))
(use-package swiper (use-package swiper
:ensure t :ensure t
:commands (swiper :commands (swiper

View File

@ -19,7 +19,6 @@
(require 'ox-icalendar) (require 'ox-icalendar)
(require 'org-ql) (require 'org-ql)
(autoload 'counsel-org-goto-all "counsel")
(autoload 'which-function "which-func") (autoload 'which-function "which-func")
(autoload 'org-element-property "org-element") (autoload 'org-element-property "org-element")
@ -860,12 +859,8 @@ Current Task: %s(replace-regexp-in-string \"%\" \"%%\" (or org-clock-current-tas
("w" (db/org-clock-in-work-task) nil) ("w" (db/org-clock-in-work-task) nil)
("h" (db/org-clock-in-home-task) nil) ("h" (db/org-clock-in-home-task) nil)
("b" (db/org-clock-in-break-task) nil) ("b" (db/org-clock-in-break-task) nil)
("s" (lambda () ("s" (org-clock-in '(4)) nil)
(interactive) ("j" (db/org-clock-goto-first-open-checkbox) nil)
(org-clock-in '(4)))
nil)
("j" (db/org-clock-goto-first-open-checkbox)
nil)
("o" org-clock-out nil) ("o" org-clock-out nil)
("l" db/org-clock-in-last-task nil)) ("l" db/org-clock-in-last-task nil))
@ -1049,7 +1044,7 @@ Current Task: %s(replace-regexp-in-string \"%\" \"%%\" (or org-clock-current-tas
" "
("c" (db/org-clock-goto-first-open-checkbox nil) ("c" (db/org-clock-goto-first-open-checkbox nil)
nil) nil)
("a" counsel-org-goto-all nil) ("a" (org-refile '(4)) nil)
("s" (db/org-clock-goto-first-open-checkbox t) ("s" (db/org-clock-goto-first-open-checkbox t)
nil)) nil))