summary refs log tree commit diff
path: root/emacs.d/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-06-24 08:59:00 -0700
committerFranck Cuny <fcuny@twitter.com>2019-06-24 08:59:00 -0700
commitc9a46d0d464dc729087bad8f24694425c395b4a9 (patch)
tree1635a2996ace13bf84caa9e7e767cb3d03ae8806 /emacs.d/custom
parent[emacs] fix arguments for calling ls (diff)
downloademacs.d-c9a46d0d464dc729087bad8f24694425c395b4a9.tar.gz
[make] update path where to store screenshots.
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-org.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el
index e71c0cd..4a14663 100644
--- a/emacs.d/custom/fcuny-org.el
+++ b/emacs.d/custom/fcuny-org.el
@@ -29,6 +29,9 @@
 
   (org-pretty-entities t)
   (org-src-fontify-natively t)
+  ;; prevent the conversion of spaces into tabs (necessary for Python code exports)
+  (org-src-preserve-indentation t)
+  (org-edit-src-content-indentation t)
 
   (org-startup-indented t)
   (org-directory (expand-file-name "~/Documents/notebooks"))
@@ -88,7 +91,7 @@
   (org-capture-templates
    `(;; templates for general references, links, etc. They can be relevant for both work and personal learning.
      ("r" "Reference" entry
-      (file+headline ,(concat org-directory "/notes.org") "Reference")
+      (file ,(concat org-directory "/kb.org") "Reference")
       "* %^{TITLE} %^G\n:PROPERTIES:\n:Created: %U\n:END:\n%?")
      ("e" "Event" entry
       (file+headline ,(concat org-directory "/notes.org") "Event")
@@ -100,7 +103,7 @@
       (file+headline ,(concat org-directory "/notes.org") "Quote")
       "* %^{TITLE}\n:PROPERTIES:\n:Created: %U\n:Page: %^{page}\n:END:\n%?")
      ("d" "Debug" entry
-      (file+headline ,(concat org-directory "/notes.org") "Debug")
+      (file ,(concat org-directory "/debug.org") "Debug")
       "* %^{TITLE}\n:PROPERTIES:\n:Created: %U\n:END:\n%?")
 
      ;; templates for personal things only.
@@ -128,9 +131,6 @@
       :tree-type week)
 
      ;; refile!
-     ("p" "New Project" entry
-      (file+headline ,(concat org-directory "/inbox.org") "Project")
-      (file ,(concat fcuny/path-emacs-etc "/new-project.org")))
      ("t" "Todo" entry
       (file+headline ,(concat org-directory "/inbox.org") "Task")
       "* TODO [#4] %? %^G\n:PROPERTIES:\n:Created: %U\n:END:")