 
 (use-package which-key
   :init
+  :config
   (setq which-key-max-description-length nil)
-  :config
   (which-key-mode)
   (which-key-setup-side-window-right-bottom)
   :defer 2

        paradox-hide-wiki-packages t))

(use-package recentf
  :config (recentf-mode)
  :init
  (setq recentf-max-saved-items 200
        recentf-max-menu-items 15
        recentf-auto-cleanup 300))           ; wait 5m before 1st cleanup

;; save buffer positions
(use-package saveplace
  :init
  (setq-default save-place t)
  (setq save-place-file (expand-file-name "places" user-emacs-directory)
        save-place-forget-unreadable-files nil)
  :config
  (save-place-mode t)
  :defer 3)


  :general
    ("<s-return>" #'yas-expand)
  :init
  (add-hook 'yas-before-expand-snippet-hook         ; evil-insert at each slot
            (lambda()
                  (let ((p (point)) (m (mark)))
