aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/modes/init-org-mode.el11
2 files changed, 9 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index df7a5c9..4f08fd7 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -52,7 +52,6 @@
(require 'init-lsp-mode)
(require 'init-mu4e)
-;; ledger-mode
(use-package ledger-mode
:mode (("\\.journal$" . ledger-mode))
:config
diff --git a/.emacs.d/modes/init-org-mode.el b/.emacs.d/modes/init-org-mode.el
index af03184..32bdc4f 100644
--- a/.emacs.d/modes/init-org-mode.el
+++ b/.emacs.d/modes/init-org-mode.el
@@ -31,7 +31,9 @@
(kbd "<leader>od") 'org-deadline
(kbd "<leader>or") 'org-refile
(kbd "<leader>oil") 'org-insert-link
- (kbd "<leader>oih") 'org-insert-heading)
+ (kbd "<leader>oih") 'org-insert-heading
+ (kbd "<leader>oci") 'org-clock-in
+ (kbd "<leader>oco") 'org-clock-out)
(setq org-tags-exclude-from-inheritance
'("PROJECT"))
@@ -65,7 +67,10 @@
;; org babel
(org-babel-do-load-languages
'org-babel-load-languages
- '((shell . t))))
+ '((shell . t)))
+
+ ;; org-habit
+ (add-to-list 'org-modules 'org-habit t))
(use-package org-agenda
:ensure nil
@@ -74,6 +79,8 @@
:init
(setq org-agenda-dim-blocked-tasks nil)
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
+
+
(setq org-deadline-warning-days 10)
(setq org-agenda-compact-blocks t)
(setq org-agenda-custom-commands