Skip to content

Instantly share code, notes, and snippets.

@yangchenyun
Last active July 25, 2016 04:53
Show Gist options
  • Save yangchenyun/f1730e0776a219aa85a37fd9bce499ed to your computer and use it in GitHub Desktop.
Save yangchenyun/f1730e0776a219aa85a37fd9bce499ed to your computer and use it in GitHub Desktop.
post-init-org
(defun yangchenyun-org/post-init-org ()
;; Disable whitespace-mode highlighting
(message "post init org is executed")
(with-eval-after-load 'org
(progn
(defvar org-dir "~/Dropbox/.org")
(setq org-bullets-bullet-list '("■" "◆" "▲" "▶"))
(setq org-directory (expand-file-name org-dir)
org-agenda-files (list (concat org-dir "/plans.org")
(concat org-dir "/work.org")
(concat org-dir "/work.trello")
(concat org-dir "/diary.org")
(concat org-dir "/meetings.org")
(concat org-dir "/inbox.org"))))))
;; message showed it is loaded
Loading /Users/steveyang/.emacs.d/layers/+source-control/version-control/packages.el (source)...done
Loading /Users/steveyang/.spacemacs.d/layers/yangchenyun-org/packages.el (source)...done
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
- `org-agenda-next-line' originally mapped on `C-n'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
- `org-agenda-toggle-time-grid' originally mapped on `G'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
- `org-agenda-filter-remove-all' originally mapped on `|'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
- `org-agenda-filter-by-tag-refine' originally mapped on `\'
(Spacemacs) Warning: Auto-evilication could not remap these functions in map `org-agenda-mode-map':
- `org-agenda-priority' originally mapped on `,'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment