Browse Source

Add org-mode specific bindings

Taylor Bockman 9 years ago
parent
commit
55b1de827a
  1. 16
      dotfiles/emacs.d/init.el

16
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
;;--------------------------------------------------------------------------------------

Loading…
Cancel
Save