summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-org.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/km-org.el b/init/km-org.el
index 15a07d9..b962950 100644
--- a/init/km-org.el
+++ b/init/km-org.el
@@ -147,3 +147,9 @@
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
+
+(defun km/open-main-orgfile ()
+ (interactive)
+ (find-file org-default-notes-file))
+
+(global-set-key (kbd "C-c o m") 'km/open-main-orgfile)