@@ -612,6 +612,15 @@ Settings for the Emacs Web Browser.
612612 (setq org-directory "~/org"
613613 org-default-notes-file (concat org-directory "/notes.org"))
614614
615+ ;; set the archive
616+ (setq org-archive-location "~/org/archive/%s_archive::datetree/** Archived")
617+ (setq org-agenda-custom-commands
618+ '(("Q" . "Custom queries") ;; gives label to "Q"
619+ ("Qa" "Archive search" search ""
620+ ((org-agenda-files (file-expand-wildcards "~/org/archive/*.org_archive"))))
621+ ;; ...other commands here
622+ ))
623+
615624 ;; highlight code blocks syntax
616625 (setq org-src-fontify-natively t
617626 org-src-tab-acts-natively t)
@@ -2224,7 +2233,7 @@ that way.
22242233 Browse Search Social Post │ Internet │
22252234 ╭───────────────────────────────────────────────────────────────────┴──────────╯
22262235 [_w_] eww [_g_] google [_f_] elfeed [_i_] imgur
2227- ^ ^ [_m_] google maps [_t_] twitter
2236+ [_u_] url [_m_] google maps [_t_] twitter
22282237 ^ ^ [_s_] surfraw [_x_] stack overflow
22292238 --------------------------------------------------------------------------------
22302239 "
@@ -2235,6 +2244,7 @@ that way.
22352244 ("s" helm-surfraw)
22362245 ("t" twit)
22372246 ("w" eww)
2247+ ("u" browse-url-at-point)
22382248 ("x" sx-tab-newest))
22392249
22402250 (defhydra hydra-jump (:color blue :hint nil :idle 0.4 :inherit (hydra-common/heads))
@@ -2510,8 +2520,9 @@ that way.
25102520 ╭───────────────────────────────────────────────────────────────┴──────────────╯
25112521 [_a_] agenda [_c_] capture [_m_] mail [_x_] speed type
25122522 [_l_] agenda list [_p_] pomodoro [_t_] contacts
2513- [_d_] calendar [_s_] search headings
2523+ [_d_] calendar [_s_] search headings [_h_] add location
25142524 ^ ^ [_g_] open location gmaps
2525+ ^ ^ [_f_] archive subtree
25152526 --------------------------------------------------------------------------------
25162527 "
25172528 ("a" org-agenda)
@@ -2520,6 +2531,7 @@ that way.
25202531 ("g" org-location-google-maps)
25212532 ("h" org-address-google-geocode-set)
25222533 ("l" org-agenda-list)
2534+ ("f" org-archive-subtree)
25232535 ("m" mu4e)
25242536 ("p" org-pomodoro)
25252537 ("s" helm-org-agenda-files-headings)
0 commit comments