summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-08-29 19:21:25 +0200
committerjohannst <johannes.stoelp@gmail.com>2019-08-29 19:21:25 +0200
commitf072b0ad738cceecb38631efb9d7c11ff4838131 (patch)
treeb372127cf1b28e2101c9d4afe3912cffa15e1dfc /emacs.el
parente095ef219a383c3631df92299f5ea46598bee1c4 (diff)
downloaddotfiles-f072b0ad738cceecb38631efb9d7c11ff4838131.tar.gz
dotfiles-f072b0ad738cceecb38631efb9d7c11ff4838131.zip
emacs: configured org-capture
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el16
1 files changed, 10 insertions, 6 deletions
diff --git a/emacs.el b/emacs.el
index 58fad0a..adc4b3a 100644
--- a/emacs.el
+++ b/emacs.el
@@ -54,16 +54,20 @@
;; org
(use-package org
:bind
- (:map org-mode-map
- ("M-j" . org-metadown)
- ("M-h" . org-metaleft)
- ("M-l" . org-metaright)
- ("M-k" . org-metaup)
- )
+ (("\C-cc" . org-capture)
+ :map org-mode-map
+ ("M-j" . org-metadown)
+ ("M-h" . org-metaleft)
+ ("M-l" . org-metaright)
+ ("M-k" . org-metaup)
+ )
:config
+ (setq org-directory "~/org")
+ (setq org-default-notes-file (concat org-directory "/capture.org"))
(setq org-log-done t)
(setq org-confirm-babel-evaluate nil)
(setq org-todo-keywords '((sequence "TODO" "WAIT" "DONE")))
+ (setq org-hide-leading-stars t)
)
;; helm