 
 (setq org-src-fontify-natively t)
 
+;; Some org key bindings conflict with mine. Namely C-j. I do like to
+;; navigate and move around quickly, but org indentation is also a
+;; pain, which is why C-j is so cool.
+
+;; Turns out since I write comments constantly when programming, I use
+;; M-j quite frequently, and also, org mode really feels like you're
+;; commenting stuff rather than programming, so that's a win. Let's
+;; use that.
+(define-key org-mode-map (kbd "C-j") nil)
+(define-key org-mode-map (kbd "M-j") 'org-return-indent)
+
 (provide 'setup-org)
 ;;; setup-org.el ends here

(when (file-exists-p my/org-agenda-file)
  (setq org-agenda-files (list my/org-agenda-file)))

;; reveal.js stuff
;; Thanks to Mike Zamansky
;; https://www.youtube.com/watch?v=psDpCpcIVYs
(use-package ox-reveal
  :ensure ox-reveal
  :config
  (setq org-reveal-root "http://cdn.jsdelivr.net/reveal.js/3.0.0/")
  (setq org-reveal-mathjax t))

(use-package htmlize
  :ensure t)

;; Ensure we can get out of org-src with C-x C-s
;; god narrow-or-widen-dwim is cool
(eval-after-load 'org-src
  '(define-key org-src-mode-map "\C-x\C-s" #'org-edit-src-exit))

(setenv "PDFLATEX" "pdflatex -shell-escape")
(setq org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))


;; Use org plus contrib
(use-package org-plus-contrib
  :ensure t
  :defer t)

;; Agenda is cool
(global-set-key (kbd "C-c a") 'org-agenda)
