diff options
author | Guangxiong Lin <[email protected]> | 2022-03-14 21:50:38 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-14 21:50:38 +0800 |
commit | 42aa5a42061c0523b4feeac4b5643d1a2aed3a42 (patch) | |
tree | 658cd9541d74a33cb8e015f4e4666a06a8548cbc | |
parent | dab137d6d5d68859ae193fa15ad5e6a97b010893 (diff) | |
download | dotfiles-42aa5a42061c0523b4feeac4b5643d1a2aed3a42.tar.gz dotfiles-42aa5a42061c0523b4feeac4b5643d1a2aed3a42.tar.bz2 dotfiles-42aa5a42061c0523b4feeac4b5643d1a2aed3a42.zip |
Update config of orgmode (emacs)
-rw-r--r-- | .emacs.d/lisp/init-misc.el | 1 | ||||
-rw-r--r-- | .emacs.d/lisp/init-org-agenda.el | 3 | ||||
-rw-r--r-- | .emacs.d/lisp/init-org.el | 9 |
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) |