summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-11-17 14:23:29 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-11-17 14:23:29 +0000
commitf9b9eae3d663cd2f120cb3d0cf21ae3d0a70145c (patch)
tree338eee353bb73da30cdc39d93c59bd8790ac0f0b
parent0cf15edde85475a48582e4a668b0b563fcc2da33 (diff)
brought much of org agenda in line with Doom
-rw-r--r--.gitignore1
-rw-r--r--init.el43
-rw-r--r--myinit.org10
3 files changed, 5 insertions, 49 deletions
diff --git a/.gitignore b/.gitignore
index f531c4e..6f45575 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@ org-caldav-*
/.last-package-update-day
/forge-database.sqlite
myinit.el
+init.el
diff --git a/init.el b/init.el
deleted file mode 100644
index 24de399..0000000
--- a/init.el
+++ /dev/null
@@ -1,43 +0,0 @@
-;; packages
-(require 'package)
-(setq package-archives '(("melpa" . "https://melpa.org/packages/")
- ("org" . "https://orgmode.org/elpa/")
- ("elpa" . "https://elpa.gnu.org/packages/")))
-(package-initialize)
-
-(unless package-archive-contents
- (package-refresh-contents))
-
-(unless (package-installed-p 'use-package)
- (package-install 'use-package))
-(eval-when-compile
- (require 'use-package))
-(setq use-package-always-ensure t)
-
-;; start of use-package
-(require 'use-package)
-
-
-(require 'org)
-(add-to-list 'org-modules 'org-habit)
-(org-babel-load-file (expand-file-name "~/.emacs.d/myinit.org"))
-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(company-show-quick-access t nil nil "Customized with use-package company")
- '(custom-safe-themes
- '("6b5c518d1c250a8ce17463b7e435e9e20faa84f3f7defba8b579d4f5925f60c1" default))
- '(ledger-binary-path "hledger")
- '(org-agenda-files
- '("~/org/home.org" "~/org/projects.org" "~/org/journal.org" "~/org/work.org" "~/org/notes.org" "~/org/habits.org" "~/org/calendar/cal.org"))
- '(package-selected-packages
- '(epdfinfo pdf-tools elfeed-score yasnippet-snippets yasnippet browse-kill-ring expand-region ace-window amx flycheck ace-jump-mode gruvbox-theme company helm auto-package-update ledger-mode magit elfeed-org which-key use-package rainbow-delimiters paredit evil counsel)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
diff --git a/myinit.org b/myinit.org
index 33d5e64..5af19ee 100644
--- a/myinit.org
+++ b/myinit.org
@@ -586,10 +586,10 @@ If failed try to complete the common part with `company-complete-common'"
(setq org-highest-priority ?A)
(setq org-default-priority ?C)
(setq org-lowest-priority ?E)
- (setq org-priority-faces
- '((?A . (:foreground "#CC0000" :background "#FFE3E3"))
- (?B . (:foreground "#64992C" :background "#EBF4DD"))
- (?C . (:foreground "#64992C" :background "#FFFFFF"))))
+ ;; (setq org-priority-faces
+ ;; '((?A . (:foreground "#CC0000" :background "#FFE3E3"))
+ ;; (?B . (:foreground "#64992C" :background "#EBF4DD"))
+ ;; (?C . (:foreground "#64992C" :background "#FFFFFF"))))
(setq org-ellipsis "...")
(setq org-startup-indented nil)
(setq org-hide-leading-stars nil)
@@ -649,7 +649,6 @@ If failed try to complete the common part with `company-complete-common'"
(org-agenda-sorting-strategy '(deadline-up scheduled-down priority-down))))
(tags-todo "TODO=\"TODO\"" ((org-agenda-overriding-header "TODO")
(org-agenda-sorting-strategy '(deadline-up)))))
-
((org-agenda-category-filter-preset '("+MOD" "+Proj/Task" "+Meeting" "+WorkTrip" "+refile"))))
("h" "Home"
@@ -665,7 +664,6 @@ If failed try to complete the common part with `company-complete-common'"
(tags-todo "TODO=\"NEXT\"" ((org-agenda-overriding-header "All Next Actions")
(org-agenda-sorting-strategy '(deadline-down scheduled-down priority-down))))
(tags-todo "TODO=\"TODO\"" ((org-agenda-overriding-header "TODO"))))
-
((org-agenda-category-filter-preset '("+home" "+habits" "+refile"))))
("i" tags "idea")
("r" tags "LEVEL=2+REFILE" ((org-agenda-overriding-header "Stuff to refile")))))