-
Notifications
You must be signed in to change notification settings - Fork 2
/
orgmode-init.el
29 lines (29 loc) · 1.15 KB
/
orgmode-init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(add-to-list 'load-path "/share/.emacs.d/plugins/org-mode/lisp")
(require 'org)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
(setq org-publish-project-alist
'(("note-org"
:base-directory "~/personal-org/note"
:publishing-directory "~/personal-org/note/publish"
:base-extension "org"
:recursive t
:publishing-function org-publish-org-to-html
:auto-index nil
:index-filename "index.org"
:index-title "index"
:link-home "index.html"
:section-numbers nil
:style "<link rel=\"stylesheet\" href=\"./css/style.css\" type=\"text/css\"/>")
("note-static"
:base-directory "~/personal-org/note"
:publishing-directory "~/personal-org/note/publish"
:recursive t
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|swf\\|zip\\|gz\\|txt\\|el"
:publishing-function org-publish-attachment)
("note"
:components ("note-org" "note-static")
:author "[email protected]"
)))