summary refs log tree commit diff
path: root/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d')
-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:")