   (:keymaps 'dired-mode-map
             ")" #'dired-git-info-mode))
 
+(use-package auto-package-update
+  :custom
+  (auto-package-update-delete-old-versions t)
+  :defer t)
+
 ;;
 ;; Editing & navigation
 ;;

;;

(use-package smex
  :disabled
  :custom
  (smex-history-length 16))

(use-package selectrum-prescient
  :preface
  (defun user/execute-extended-command (orig-fun &rest r)
    "Additional support for multiple cursors."
    (apply orig-fun r)
    (let ((cmd (intern (string-trim-left (nth 1 r) "\\^"))))
      (when (and (boundp 'multiple-cursors-mode)
                 multiple-cursors-mode
                 cmd

                     (mc/prompt-for-inclusion-in-whitelist cmd)))
        (mc/execute-command-for-all-fake-cursors cmd))))
  :custom
  (counsel-describe-function-preselect 'ivy-function-called-at-point)
  (counsel-grep-post-action-hook '(recenter))
  (counsel-mode-override-describe-bindings t)
  :init
  (counsel-mode t)
  (advice-add #'counsel-M-x-action :around #'user/counsel-M-x-action))

(use-package ivy-rich
  :after ivy
  (ivy-rich-switch-buffer-align-virtual-buffer t)
  (ivy-rich-path-style 'abbrev)
  :init
  (ivy-rich-mode t)
  :config
  (setcdr (assq t ivy-format-functions-alist) #'ivy-format-function-line))

(use-package company
  :preface
