updating mu4e config and keybinds

This commit is contained in:
Matt Nish-Lapidus 2024-06-26 12:11:33 -04:00
parent 9f140d48d6
commit 2cf813d0f6
4 changed files with 22 additions and 8 deletions

View file

@ -463,16 +463,27 @@
"w" #'chezmoi-write)
(map!
:map mu4e-main-mode-map
:map '(mu4e-main-mode-map mu4e-compose-mode-map mu4e-headers-mode-map mu4e-view-mode-map)
:localleader
:desc "Compose" "c" #'compose-mail
:desc "Search (consult)" "s" #'consult-mu)
:desc "Search (consult)" "SPC" #'consult-mu
:desc "Search (mu4e)" "f" #'mu4e-search
:desc "Update All" "u" #'mu4e-update-mail-and-index
:desc "Bookmarks" "b" #'mu4e-search-bookmark
:desc "Jump to Maildir" "j" #'mu4e-search-maildir
:desc "Switch Context" ";" #'mu4e-context-switch)
(map!
:map mu4e-headers-mode-map
"v" #'mu4e-view-action
:localleader
:desc "View Action" "v" #'mu4e-view-action
:desc "Sort Order" "s" #'mu4e-search-change-sorting)
(map!
:map mu4e-compose-mode-map
:localleader
:desc "Send message and exit" "s" #'message-send-and-exit
:desc "Update All" "s" #'mu4e-update-mail-and-index)
:desc "Send message and exit" "s" #'message-send-and-exit)
(map!
:map dired-mode-map

View file

@ -16,7 +16,7 @@
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t)
(setq display-line-numbers-type 'relative)
(setq scroll-preserve-screen-position t)
(setq global-hl-line-modes nil)
@ -321,7 +321,7 @@
(setq message-citation-line-format "On %e %B %Y at %R %Z, %f wrote:\n")
(setq message-citation-line-function 'message-insert-formatted-citation-line)
(setq message-signature nil)
(add-hook 'mu4e-thread-mode-hook #'mu4e-thread-fold-all)
(setq mu4e-bookmarks nil)
@ -333,6 +333,7 @@
(setq mu4e-compose-format-flowed t)
(setq message-signature nil)
(add-hook! 'mu4e-compose-mode-hook
(use-hard-newlines -1)
(message-goto-body)

View file

@ -15,7 +15,9 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
'(cursor ((t (:background "#FCFCFA" :foreground "black"))))
'(line-number ((t (:foreground "#424242"))))
'(mu4e-highlight-face ((t (:inherit nil :background "gray26" :foreground "gray85")))))
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.

View file

@ -51,5 +51,5 @@
(meow-tree-sitter-register-defaults)
(pushnew! meow-mode-state-list '(sly-db-mode . motion))
(pushnew! meow-mode-state-list '(sly-inspector-mode . motion))
(pushnew! meow-mode-state-list '(mu4e-main-mode . insert)))
(pushnew! meow-mode-state-list '(mu4e-main-mode . motion)))
;; (pushnew! meow-mode-state-list '(custom-mode . motion)))