       org-M-RET-may-split-line '((default . nil))
       org-highlight-latex-and-related '(latex)
       org-use-sub-superscripts '{}
-      org-export-with-sub-superscripts '{})
+      org-export-with-sub-superscripts '{}
+      org-src-fontify-natively t
+      org-src-preserve-indentation t)
 
 (bind-key [remap org-return] 'org-return-indent org-mode-map)
 

(setq org-columns-default-format
      "%80ITEM(Task) %10Effort(Effort){:} %10CLOCKSUM")

;; open directory links in emacs itself
(add-to-list 'org-file-apps '(directory . emacs))


(add-to-list 'org-file-apps '("\\.docx\\'" . system))
(add-to-list 'org-file-apps '("\\.pptx\\'" . system))
(add-to-list 'org-file-apps '("\\.xlsx\\'" . system))

(when (eq system-type 'windows-nt)
  (org-link-set-parameters "onenote" :follow #'db/org-onenote-open)

  (defun db/org-onenote-open (path)
    "Visit OneNote document on PATH."
    (start-process "OneNote" nil "OneNote" "/hyperlink" path)))


