summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-01-12 14:28:01 -0500
committerKyle Meyer <meyerkya@gmail.com>2013-01-12 14:28:01 -0500
commit55faf567634a1af4cc92add31c610ae9fe4305bb (patch)
treef4ec382e69ab8f5c67d7c47a594fd6a66128cc48
parent0bbeabe471fb296af105d2a3e21a6b2c12bc4179 (diff)
downloademacs.d-55faf567634a1af4cc92add31c610ae9fe4305bb.tar.gz
org: func and binding to open main org file
-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)