forked from blastura/dot-emacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
my-org.el
25 lines (20 loc) · 936 Bytes
/
my-org.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
(defun my-org-mode-hook()
;;(flyspell-mode t)
;;(ispell-change-dictionary "sv" nil)
(auto-fill-mode 1)
(local-set-key (kbd "C-<return>") 'org-export-as-html-and-open)
(local-set-key (kbd "C-<tab>") 'other-window)
(local-set-key (kbd "C-S-<tab>") (lambda ()
(interactive) (other-window -1))))
(add-hook 'org-mode-hook 'my-org-mode-hook)
(setq org-directory "~/Documents/org")
(setq org-default-notes-file "~/Documents/org/notes.org")
;;(setq remember-annotation-functions '(org-remember-annotation))
;;(setq remember-handler-functions '(org-remember-handler))
;;(add-hook 'remember-mode-hook 'org-remember-apply-template)
(set-variable 'org-export-html-style
"<link rel=\"stylesheet\" type=\"text/css\" href=\"/Users/anton/.emacs.d/org-mode.css\" />")
(set-variable 'org-export-with-section-numbers nil)
;; Clocking
(setq org-clock-history-length 35)
(provide 'my-org)