Commit 1cfb024d authored by Guilherme Semente's avatar Guilherme Semente 🌱

Improve org text search support

parent 4e5ae4f5
......@@ -1003,8 +1003,8 @@ You may find other key bindings inside use-package statements."
:bind (("C-c a" . org-agenda)
("C-c c" . org-capture)
("C-c l" . org-store-link)
("C-c t" . org-clock-goto))
("C-c t" . org-clock-goto)
("C-c s" . org-occur-in-agenda-files))
:preface
(defadvice org-agenda-quit (after save-on-quit activate)
"Advise agenda-quit to save all org buffers on quit"
......@@ -1018,16 +1018,16 @@ You may find other key bindings inside use-package statements."
:init
(require 'htmlize)
(require 'ob-shell nil t)
(require 'ob-shell)
(require 'org-habit)
(require 'org-protocol)
(require 'org-checklist)
(require 'ol-notmuch)
(diminish 'orgstruct-mode "")
(diminish 'orgtbl-mode "") ; XXX: not working
(setq org-agenda-text-search-extra-files '(agenda-archives)
org-babel-load-languages '((emacs-lisp . t) (sh . t) (python . t))
(setq org-babel-load-languages '((emacs-lisp . t) (shell . t) (python . t))
org-export-backends '(ascii html icalendar latex odt md)
org-capture-templates semente-org-capture-templates)
(setq org-archive-default-command 'org-archive-subtree
......@@ -1045,6 +1045,9 @@ You may find other key bindings inside use-package statements."
org-default-notes-file "~/org/notes.org.gpg")
(setq org-agenda-file-regexp "\\`[^.].*\\.org\\(\\.gpg\\)?\\'"
org-agenda-files '("~/org/agenda.org.gpg" "~/org/tasks.org.gpg" "~/org/notes.org.gpg")
org-agenda-text-search-extra-files (append '(agenda-archives)
(directory-files "~/org" t "org\\(\.gpg\\)?$")
(directory-files-recursively "~/src/semente.io" "\.org$"))
org-agenda-window-setup 'reorganize-frame
org-agenda-restore-windows-after-quit t
org-agenda-include-diary t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment