mu4e-sent-folder "/Sent"
mu4e-drafts-folder "/Drafts"
mu4e-trash-folder "/Trash"
- message-kill-buffer-on-exit t)
+ message-kill-buffer-on-exit t
+ ;;Fixing duplicate UID errors when using mbsync and mu4e
+ mu4e-change-filenames-when-moving t)
;; attach files to mu4e messages by marking the file(s) in dired and pressing C-c RET C-a
(add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)
;; Define all bookmarks starting with favourite query used in mailcount modeline
(setq vertico-resize nil)
(vertico-mode 1))
+;; Persist history over Emacs restarts. Vertico sorts by history position.
+(use-package savehist
+ :init
+ (savehist-mode))
+
;; Use `marginalia' package. This will display useful
;; annotations next to entries in the minibuffer. For example, when
;; using M-x it will show a brief description of the command as well
;; Other custom bindings
("M-y" . consult-yank-pop))) ;; orig. yank-pop
+(use-package consult-mu
+ :ensure nil ;; cloned in
+ :load-path "~/.emacs.d/lisp/consult-mu"
+ :after (consult mu4e)
+ :custom
+ ;;maximum number of results shown in minibuffer
+ (consult-mu-maxnum 200)
+ ;;show preview when pressing any keys
+ (consult-mu-preview-key 'any)
+ ;;do not mark email as read when previewed
+ (consult-mu-mark-previewed-as-read nil)
+ ;;do not amrk email as read when selected. This is a good starting point to ensure you would not miss important emails marked as read by mistake especially when trying this package out. Later you can change this to t.
+ (consult-mu-mark-viewed-as-read nil)
+ ;; open the message in mu4e-view-buffer when selected.
+ (consult-mu-action #'consult-mu--view-action)
+ )
+
;; Configure `world-clock'
(use-package time
:ensure nil