From: Peng Li Date: Tue, 19 Jan 2016 05:05:24 +0000 (+0800) Subject: emacs - add org init file X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=69e526851394f67681a6c97e6f310d9cad92d808;p=dotfiles.git emacs - add org init file --- diff --git a/emacs.d/elisp/init-org.el b/emacs.d/elisp/init-org.el new file mode 100644 index 0000000..f48e949 --- /dev/null +++ b/emacs.d/elisp/init-org.el @@ -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)