org-projectile-hybrid and make C-c C-f work in org mode.
This commit is contained in:
parent
b48187b4da
commit
33bd9e3c02
@ -613,6 +613,8 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
|
|
||||||
(use-package htmlize :ensure t)
|
(use-package htmlize :ensure t)
|
||||||
|
|
||||||
|
(use-package calfw :ensure t)
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure org-plus-contrib
|
:ensure org-plus-contrib
|
||||||
:commands (org-mode org org-mobile-push org-mobile-pull org-agenda)
|
:commands (org-mode org org-mobile-push org-mobile-pull org-agenda)
|
||||||
@ -629,6 +631,7 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
("C-c C-S-t" . org-todo-force-notes))
|
("C-c C-S-t" . org-todo-force-notes))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(unbind-key "C-c C-f" org-mode-map)
|
||||||
(setq helm-org-headings-fontify t)
|
(setq helm-org-headings-fontify t)
|
||||||
;; Enable appointment notifications.
|
;; Enable appointment notifications.
|
||||||
(defadvice org-agenda-to-appt (before wickedcool activate)
|
(defadvice org-agenda-to-appt (before wickedcool activate)
|
||||||
@ -717,6 +720,7 @@ the same tree node, and the headline of the tree node in the Org-mode file."
|
|||||||
:bind (("C-c n p" . imalison:helm-org-todo))
|
:bind (("C-c n p" . imalison:helm-org-todo))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(org-projectile:hybrid)
|
||||||
(setq org-confirm-elisp-link-function nil)
|
(setq org-confirm-elisp-link-function nil)
|
||||||
(defun imalison:helm-org-todo (&optional arg)
|
(defun imalison:helm-org-todo (&optional arg)
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
@ -818,9 +822,10 @@ the same tree node, and the headline of the tree node in the Org-mode file."
|
|||||||
(unless (boundp 'org-capture-templates)
|
(unless (boundp 'org-capture-templates)
|
||||||
(defvar org-capture-templates nil))
|
(defvar org-capture-templates nil))
|
||||||
(setq org-agenda-files
|
(setq org-agenda-files
|
||||||
(append org-agenda-files (--filter (file-exists-p it)
|
(append org-agenda-files
|
||||||
(list org-gtd-file org-habits-file org-projectile:projects-file
|
(--filter (file-exists-p it)
|
||||||
org-calendar-file))))
|
`(,org-gtd-file ,org-habits-file ,@(org-projectile:todo-files)
|
||||||
|
,org-calendar-file))))
|
||||||
|
|
||||||
(add-to-list 'org-capture-templates
|
(add-to-list 'org-capture-templates
|
||||||
`("g" "GTD Todo" entry (file ,org-gtd-file)
|
`("g" "GTD Todo" entry (file ,org-gtd-file)
|
||||||
|
Loading…
Reference in New Issue
Block a user