summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--emacs.d/custom/fcuny-org.el10
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 5d33474..4040f04 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ $(HOME)/workspace:
@mkdir -p $(HOME)/workspace/
$(HOME)/Documents/screenshots:
- @mkdir -p $(HOME)/GDrive/screenshots
+ @mkdir -p $(HOME)/Documents/screenshots
.PHONE: osx
osx:
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:")