aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-misc.el1
-rw-r--r--.emacs.d/lisp/init-org-agenda.el3
-rw-r--r--.emacs.d/lisp/init-org.el9
3 files changed, 10 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index 97bb0b4..b4239c9 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -23,6 +23,7 @@
`((".*" "~/.emacs.d/backups/" t)))
(setq-default fill-column 72)
+(setq-default indent-tabs-mode nil)
(setq-default
recentf-max-saved-items 1024
recentf-exclude `("/tmp/"))
diff --git a/.emacs.d/lisp/init-org-agenda.el b/.emacs.d/lisp/init-org-agenda.el
index b583b96..9e520a0 100644
--- a/.emacs.d/lisp/init-org-agenda.el
+++ b/.emacs.d/lisp/init-org-agenda.el
@@ -41,7 +41,8 @@
(defvar gx/org-agenda-block--attention
'(org-ql-block '(and (not (todo "WAITING"))
(or (tags "URGENT" "FLAGGED")
- (priority "A")))
+ (priority "A"))
+ (not (done)))
((org-ql-block-header "ATTENTION")))
"A block showing tasks require attention.")
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 64e9e2f..0ead7cf 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -34,6 +34,10 @@
(kbd "<leader>r") 'org-refile
+ ;; toggle
+ (kbd "<leader><SPC>l") 'org-toggle-link-display
+ (kbd "<leader><SPC>b") 'org-roam-buffer-toggle
+
;; set
(kbd "<leader>ss") 'org-schedule
(kbd "<leader>sd") 'org-deadline
@@ -88,7 +92,7 @@
;; tags
(setq org-tags-exclude-from-inheritance
- '("PROJECT" "UNWILLING"))
+ '("PROJECT"))
(setq org-tag-alist '((:startgroup . nil)
("@work" . ?w) ("@home" . ?h) ("errants" . ?e)
(:endgroup . nil)
@@ -96,7 +100,8 @@
("FLAGGED" . ?f)
("URGENT" . ?u)
("UNWILLING" . ?x)
- ("PROJECT" . ?p)))
+ ("PROJECT" . ?p)
+ ("REFILE" . ?r)))
;; refile
(setq org-refile-targets '((nil :maxlevel . 9)