aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-org.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-13 02:43:54 +0800
committerGuangxiong Lin <[email protected]>2022-03-13 02:43:54 +0800
commit52663428184b2f13611bcbdae8431fd9605b1d7e (patch)
tree111f3ad8721267d827c1b3abe83e1fe4ab87d8f7 /.emacs.d/lisp/init-org.el
parent1957e46551dfd1acfcd53fec17fd9630304a11db (diff)
downloaddotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.tar.gz
dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.tar.bz2
dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.zip
Add diminish package (emacs)
Diffstat (limited to '.emacs.d/lisp/init-org.el')
-rw-r--r--.emacs.d/lisp/init-org.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index 591f8b1..81b0935 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -67,6 +67,9 @@
(setq org-tags-column (- fill-column))
(setq org-agenda-tags-column org-tags-column)
+(with-eval-after-load 'org-indent
+ (gx/diminish 'org-indent-mode))
+
;; todo
(setq org-todo-keywords
'((sequence "TODO(t)" ; to do later
@@ -156,10 +159,10 @@
;; evil
(when (gx/maybe-require-package 'evil-org)
(add-hook 'org-mode-hook 'evil-org-mode)
- (add-hook 'org-agenda-mode-hook 'evil-org-mode)
- (add-hook 'evil-org-mode-hook
- (lambda ()
- (setq evil-want-C-i-jump nil))))
+ (add-hook 'org-agenda-mode-hook 'evil-org-mode))
+(add-hook 'evil-org-mode-hook
+ (lambda ()
+ (setq evil-want-C-i-jump nil)))
(with-eval-after-load 'evil
(evil-define-key 'motion org-agenda-mode-map
(kbd "q") (lambda ()
@@ -169,7 +172,8 @@
(with-eval-after-load 'evil-org
(require 'evil-org-agenda)
(evil-org-set-key-theme '(navigation insert textobjects additional calendar todo))
- (evil-org-agenda-set-keys))
+ (evil-org-agenda-set-keys)
+ (gx/diminish 'evil-org-mode))
;; roam
(when (gx/maybe-require-package 'org-roam)