Add doom-modeline back, remove minions
Adjust mu4e modeline config to fit with doom better Add binds to jump to last org capture and refile targets
This commit is contained in:
parent
c4341242ba
commit
9df9b66bc8
45
README.org
45
README.org
|
@ -19,8 +19,8 @@ time it's used.
|
|||
(package-selected-packages
|
||||
'(
|
||||
;; UI
|
||||
base16-theme all-the-icons nerd-icons nerd-icons-completion
|
||||
nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer minions
|
||||
base16-theme doom-modeline nerd-icons nerd-icons-completion
|
||||
nerd-icons-corfu nerd-icons-dired nerd-icons-ibuffer
|
||||
ligature which-key diff-hl
|
||||
|
||||
;; Completion
|
||||
|
@ -105,6 +105,28 @@ Configure the look and feel of Emacs
|
|||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
#+end_src
|
||||
*** Modeline
|
||||
#+begin_src emacs-lisp
|
||||
(use-package doom-modeline
|
||||
:hook (after-init . (lambda () (doom-modeline-mode +1)))
|
||||
:custom
|
||||
(doom-modeline-checker-simple-format nil)
|
||||
(doom-modeline-enable-word-count t)
|
||||
(doom-modeline-env-version t)
|
||||
(doom-modeline-github nil)
|
||||
(doom-modeline-gnus t)
|
||||
(doom-modeline-mu4e t)
|
||||
(doom-modeline-icon t)
|
||||
(doom-modeline-irc t)
|
||||
(doom-modeline-irc-buffers t)
|
||||
(doom-modeline-lsp t)
|
||||
(doom-modeline-project-detection 'project)
|
||||
(doom-modeline-continuous-word-count-modes '(org-mode
|
||||
markdown-mode
|
||||
gfm-mode))
|
||||
:config
|
||||
(set-face-attribute 'doom-modeline nil :weight 'normal))
|
||||
#+end_src
|
||||
** Completion
|
||||
#+begin_src emacs-lisp
|
||||
(setq tab-always-indent 'complete
|
||||
|
@ -239,10 +261,10 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(with-eval-after-load 'mu4e
|
||||
(require 'mu4e-modeline)
|
||||
(setq mu4e-modeline-all-read '("R:" . " ")
|
||||
mu4e-modeline-all-clear '("C:" . " ")
|
||||
mu4e-modeline-new-items '("N:" . " ")
|
||||
mu4e-modeline-unread-items '("U:" . " "))
|
||||
(setq mu4e-modeline-all-read '("R:" . "R:")
|
||||
mu4e-modeline-all-clear '("C:" . "C:")
|
||||
mu4e-modeline-new-items '("N:" . "N:")
|
||||
mu4e-modeline-unread-items '("U:" . "U:"))
|
||||
(mu4e-modeline-mode +1))
|
||||
|
||||
(with-eval-after-load 'mu4e
|
||||
|
@ -607,13 +629,6 @@ Configure email with iCalendar event support, to integrate with
|
|||
:requires nerd-icons
|
||||
:hook (after-init . (lambda () (nerd-icons-completion-mode +1))))
|
||||
|
||||
(use-package minions
|
||||
:if (package-installed-p 'minions)
|
||||
:functions minions-mode
|
||||
:hook (after-init . (lambda () (minions-mode +1)))
|
||||
:custom
|
||||
(minions-prominent-modes '(envrc-mode flymake-mode)))
|
||||
|
||||
(use-package ligature
|
||||
:if (package-installed-p 'ligature)
|
||||
:functions (ligature-set-ligatures
|
||||
|
@ -791,6 +806,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(use-package org-refile
|
||||
:after (org org-agenda)
|
||||
:bind ("M-g r" . org-refile-goto-last-stored)
|
||||
:custom
|
||||
(org-outline-path-complete-in-steps nil)
|
||||
(org-refile-use-outline-path t)
|
||||
|
@ -823,7 +839,8 @@ Configure email with iCalendar event support, to integrate with
|
|||
|
||||
(use-package org-capture
|
||||
:after org
|
||||
:bind ("C-c o n" . org-capture)
|
||||
:bind (("C-c o n" . org-capture)
|
||||
("M-g o" . org-capture-goto-last-stored))
|
||||
:custom (org-capture-templates
|
||||
'(("t" "TODO" entry
|
||||
(file+olp "tasks.org.gpg" "Inbox")
|
||||
|
|
Loading…
Reference in a new issue