From f072b0ad738cceecb38631efb9d7c11ff4838131 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 29 Aug 2019 19:21:25 +0200 Subject: emacs: configured org-capture --- emacs.el | 16 ++++++++++------ 1 file 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 -- cgit v1.2.3