emacs - add org init file
authorPeng Li <seudut@gmail.com>
Tue, 19 Jan 2016 05:05:24 +0000 (13:05 +0800)
committerPeng Li <seudut@gmail.com>
Tue, 19 Jan 2016 05:05:24 +0000 (13:05 +0800)
emacs.d/elisp/init-org.el [new file with mode: 0644]

diff --git a/emacs.d/elisp/init-org.el b/emacs.d/elisp/init-org.el
new file mode 100644 (file)
index 0000000..f48e949
--- /dev/null
@@ -0,0 +1,13 @@
+
+
+;; http://doc.norang.ca/org-mode.html  Org Mode - Organize Your Life In Plain Text!
+
+(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
+(require 'org)
+
+(global-set-key "\C-cl" 'org-store-link)
+(global-set-key "\C-ca" 'org-agenda)
+(global-set-key "\C-cb" 'org-iswitchb)
+
+
+(provide 'init-org)