From c9c4e2dc6c5a0a7b1364bd9545035194ec3db48f Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 13 Apr 2016 01:06:34 -0700 Subject: [PATCH] Add org-mode specific bindings --- dotfiles/emacs.d/init.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 2d2ba6a..d26c16c 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -69,6 +69,18 @@ (add-hook 'eshell-mode-hook 'set-buffer-utf8) ;;-------------------------------------------------------------------------------------- +;; Enable Org-mode and set agenda files +;;-------------------------------------------------------------------------------------- + +(require 'org) + +;; Stuff all of the org files you want under ~/org and they will be loaded automatically +;; and have their TODO items accessible by typing C-c a t +(setq org-agenda-files '("~/org")) +( +setq org-log-done t) + +;;-------------------------------------------------------------------------------------- ;; Prefer unix style line endings ;;-------------------------------------------------------------------------------------- @@ -544,6 +556,10 @@ ;; Expand region (global-set-key (kbd "C-h C-k") 'er/expand-region) +;; Org mode specific keybinds +(global-set-key (kbd "C-c l") 'org-store-link) +(global-set-key (kbd "C-c a") 'org-agenda) + ;;-------------------------------------------------------------------------------------- ;; Theme ;;--------------------------------------------------------------------------------------