                  :dyn-target (lambda (target msg) (mu4e-get-refile-folder msg))
                  :action
                  (lambda (docid msg target)
-                   (mu4e~proc-move docid (mu4e~mark-check-target target) "+S-u-N")))
+                   (mu4e~proc-move docid (mu4e~mark-check-target target) "-u-N")))
         mu4e-marks)
 
   ;; This hook correctly modifies the \Inbox and \Starred flags on email when

                :dyn-target (lambda (target msg) (mu4e-get-trash-folder msg))
                :action
                (lambda (docid msg target)
                  (mu4e~proc-move docid (mu4e~mark-check-target target) "+S-u-N")))
        mu4e-marks)

  ;; Refile will set mail to All Mail (basically archiving them). I want this to

(def-package! evil-mu4e
  :after mu4e
  :when (featurep! :feature evil)
  :init (defvar evil-mu4e-state 'motion)
  :config
  (defun +email|headers-keybinds ()
    (map! :Lm "-"   #'mu4e-headers-mark-for-unflag
          :Lm "+"   #'mu4e-headers-mark-for-flag
          :Lm "v"   #'evil-visual-line
          :Lm "q"   #'mu4e~headers-quit-buffer
          ;; Enable multiple markings via visual mode
          :Lv "ESC" #'evil-motion-state
          :Lv "d"   #'+email/mark-multiple
          :Lv "-"   #'+email/mark-multiple
          :Lv "+"   #'+email/mark-multiple
