 
 (use-package amx
   :ensure t
+  :hook (after-init . amx-mode)
   :init
   (setq amx-save-file (concat user-emacs-directory ".cache/.amx-items"))
-  (add-hook 'after-init-hook 'amx-mode)
   :config
   (setq amx-auto-update-interval 10
         amx-history-length 5

(use-package ivy
  :ensure t
  :diminish ivy-mode
  :hook after-init-hook
  :config
  (setq ivy-height 12
        ivy-count-format "(%d/%d) "

  (use-package visual-regexp-steroids :ensure t))

(use-package winner
  :hook (after-init . winner-mode))

(use-package buffer-move
  :ensure t
