Add aggressive-indent package, ensure mu4e-org

Remove perspective

Reorganise modeline section of config slightly, re-enable doom-modeline-mu4e
This commit is contained in:
Evie Litherland-Smith 2023-11-17 14:48:04 +00:00
parent ae7a199ee6
commit 0a66876391
3 changed files with 99 additions and 95 deletions

View file

@ -37,6 +37,7 @@
direnv
goto-chg
rainbow-delimiters
aggressive-indent
nix-mode
anaconda-mode
rust-mode

View file

@ -104,8 +104,6 @@
(tool-bar-mode -1)
(scroll-bar-mode -1)
(tab-bar-mode -1)
(line-number-mode +1)
(column-number-mode +1)
(global-display-line-numbers-mode -1)
(global-prettify-symbols-mode +1)
(global-visual-line-mode +1)
@ -233,11 +231,14 @@
;; per mode with `ligature-mode'.
(global-ligature-mode t))
;; Doom-Modeline
(line-number-mode +1)
(column-number-mode +1)
(size-indication-mode +1)
(display-time-mode -1)
(display-battery-mode -1)
(setq doom-modeline-icon t
doom-modeline-mu4e nil ;; Use mu4e own formatting
doom-modeline-persp-name nil
doom-modeline-persp-icon nil)
doom-modeline-mu4e t)
(use-package doom-modeline
:ensure t
:config
@ -430,12 +431,6 @@
(project-find-dir "Find directory")
(project-eshell "Eshell")))
(use-package perspective
:ensure t
:demand t
:bind (("C-c p p" . persp-switch)
("C-c p r" . persp-rename)))
(setq magit-define-global-key-bindings nil
magit-clone-default-directory "~/Projects/"
magit-commit-show-diff nil
@ -550,6 +545,10 @@
:config
(add-to-list 'completion-at-point-functions #'yasnippet-capf))
(use-package aggressive-indent
:ensure t
:hook prog-mode)
(unless (package-installed-p 'kbd-mode)
(package-vc-install
'(kbd-mode . (:url "https://github.com/kmonad/kbd-mode"))))
@ -601,9 +600,10 @@
(:maildir "/Outlook/Inbox/" :key ?w)))
(use-package mu4e
:after vertico
:bind (("C-c o m" . mu4e))
:config (setq mu4e-contexts
:config
(require 'mu4e-org)
(setq mu4e-contexts
(list
(make-mu4e-context
:name "Xenia"

View file

@ -132,8 +132,6 @@
(tool-bar-mode -1)
(scroll-bar-mode -1)
(tab-bar-mode -1)
(line-number-mode +1)
(column-number-mode +1)
(global-display-line-numbers-mode -1)
(global-prettify-symbols-mode +1)
(global-visual-line-mode +1)
@ -270,11 +268,17 @@
** Modeline
#+begin_src emacs-lisp
;; Doom-Modeline
(line-number-mode +1)
(column-number-mode +1)
(size-indication-mode +1)
(display-time-mode -1)
(display-battery-mode -1)
#+end_src
*** Doom Modeline
#+begin_src emacs-lisp
(setq doom-modeline-icon t
doom-modeline-mu4e nil ;; Use mu4e own formatting
doom-modeline-persp-name nil
doom-modeline-persp-icon nil)
doom-modeline-mu4e t)
(use-package doom-modeline
:ensure t
:config
@ -508,15 +512,6 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(project-find-dir "Find directory")
(project-eshell "Eshell")))
#+END_SRC
*** Perspective
#+begin_src emacs-lisp
(use-package perspective
:ensure t
:demand t
:bind (("C-c p p" . persp-switch)
("C-c p r" . persp-rename)))
#+end_src
** Version control
*** Magit
#+begin_src emacs-lisp
@ -654,6 +649,13 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:config
(add-to-list 'completion-at-point-functions #'yasnippet-capf))
#+end_src
** Aggressive Indent
#+begin_src emacs-lisp
(use-package aggressive-indent
:ensure t
:hook prog-mode)
#+end_src
** Language-specific settings
*** kmonad
#+begin_src emacs-lisp
@ -711,9 +713,10 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
(:maildir "/Outlook/Inbox/" :key ?w)))
(use-package mu4e
:after vertico
:bind (("C-c o m" . mu4e))
:config (setq mu4e-contexts
:config
(require 'mu4e-org)
(setq mu4e-contexts
(list
(make-mu4e-context
:name "Xenia"