org: clean up
This commit is contained in:
parent
738f2a97e6
commit
86c4ecb141
1 changed files with 5 additions and 11 deletions
|
@ -26,9 +26,6 @@
|
||||||
org-archive-location (concat org-directory "/archive/%s::")
|
org-archive-location (concat org-directory "/archive/%s::")
|
||||||
org-attach-directory ".attach/"
|
org-attach-directory ".attach/"
|
||||||
|
|
||||||
;; org-mobile-inbox-for-pull (concat org-directory "notes.org")
|
|
||||||
;; org-mobile-directory "~/Dropbox/Apps/MobileOrg"
|
|
||||||
|
|
||||||
;; Use helm for refiling
|
;; Use helm for refiling
|
||||||
org-completion-use-ido nil
|
org-completion-use-ido nil
|
||||||
org-refile-targets '((nil . (:maxlevel . 2)))
|
org-refile-targets '((nil . (:maxlevel . 2)))
|
||||||
|
@ -243,7 +240,8 @@ will function properly."
|
||||||
|
|
||||||
org-priority-faces
|
org-priority-faces
|
||||||
'((?A . org-todo-vhigh)
|
'((?A . org-todo-vhigh)
|
||||||
(?B . org-todo-high)))
|
(?B . org-todo-high)
|
||||||
|
(?C . org-todo)))
|
||||||
|
|
||||||
(add-hook! org-mode
|
(add-hook! org-mode
|
||||||
(highlight-regexp org-any-link-re 'org-link))
|
(highlight-regexp org-any-link-re 'org-link))
|
||||||
|
@ -283,12 +281,9 @@ will function properly."
|
||||||
("^\\**\\(\\* DONE\\) \\([^$\n\r]+\\)"
|
("^\\**\\(\\* DONE\\) \\([^$\n\r]+\\)"
|
||||||
(1 (narf/show-as ?☑))
|
(1 (narf/show-as ?☑))
|
||||||
(2 'org-headline-done))
|
(2 'org-headline-done))
|
||||||
("^\\**\\(\\* \\(TODO\\|PAID\\)\\) "
|
("^\\**\\(\\* \\(?:TODO\\|PAID\\)\\) "
|
||||||
(1 (narf/show-as ?☐)))
|
(1 (narf/show-as ?☐)))
|
||||||
|
|
||||||
;; ("[-+*] \\(\\[X\\]\\) \\([^$\n\r]+\\)"
|
|
||||||
;; (2 'org-headline-done))
|
|
||||||
|
|
||||||
("[-+*] \\[X\\] \\([^$\n\r]+\\)"
|
("[-+*] \\[X\\] \\([^$\n\r]+\\)"
|
||||||
(1 'org-headline-done))
|
(1 'org-headline-done))
|
||||||
|
|
||||||
|
@ -309,7 +304,7 @@ will function properly."
|
||||||
(evil-org-mode +1)
|
(evil-org-mode +1)
|
||||||
(org-bullets-mode +1)
|
(org-bullets-mode +1)
|
||||||
(org-indent-mode +1)
|
(org-indent-mode +1)
|
||||||
(text-scale-set 1)
|
;; (text-scale-set 1)
|
||||||
|
|
||||||
;;; OS-Specific
|
;;; OS-Specific
|
||||||
(cond (IS-MAC (narf-org-init-for-osx))
|
(cond (IS-MAC (narf-org-init-for-osx))
|
||||||
|
@ -346,8 +341,7 @@ will function properly."
|
||||||
(exmap! "link" 'org-link)
|
(exmap! "link" 'org-link)
|
||||||
(exmap! "wc" 'narf/org-word-count)
|
(exmap! "wc" 'narf/org-word-count)
|
||||||
(exmap! "at[tach]" 'narf:org-attach)
|
(exmap! "at[tach]" 'narf:org-attach)
|
||||||
(exmap! "export" 'narf:org-export)
|
(exmap! "export" 'narf:org-export))
|
||||||
)
|
|
||||||
|
|
||||||
(defun narf|org-init ()
|
(defun narf|org-init ()
|
||||||
(narf@org-vars)
|
(narf@org-vars)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue