tweak(org): rebind org-num-mode in Org localleader

This commit is contained in:
Kiana Sheibani 2024-08-14 04:59:24 -04:00
parent f9ed422d0a
commit 37004c1726
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -2623,13 +2623,11 @@ four capitalized letters), and the cdr is a list of sub-tags.")
"Classes that belong under the :Online: tag.") "Classes that belong under the :Online: tag.")
(after! org (after! org
(setq classes-mwf '() (setq classes-mwf '(("PHIL2010" . ?1) ("CSE1322" . ?2))
classes-tr '() classes-tr '(("MATH2345" . ?3))
classes-online '() classes-online '()
subject-alist '(("MATH" ("calculus") ("algebra")) subject-alist '(("MATH" ("calculus") ("algebra"))
("HIST") ("HIST") ("POLS") ("ECON") ("PHIL")))
("POLS")
("ECON")))
(setq org-tag-persistent-alist (setq org-tag-persistent-alist
`(("area" . ?A) ("goal" . ?G) ("project" . ?P) ("meta" . ?M) `(("area" . ?A) ("goal" . ?G) ("project" . ?P) ("meta" . ?M)
@ -2669,7 +2667,7 @@ There are a few useful functions Doom doesn't bind by default, so let's add them
(map! :after org (map! :after org
:map org-mode-map :map org-mode-map
:localleader :localleader
"N" #'org-num-mode "n" #'org-num-mode
"C" #'org-columns "C" #'org-columns
"p" #'org-priority ; Remove extraneous commands "p" #'org-priority ; Remove extraneous commands
"g j" #'org-goto "g j" #'org-goto