;; ==========13.ivy-posframe==========;; -*- lexical-binding: t; -*-

(use-package ivy-posframe
  :ensure t
  :after (ivy)
;;  :defer t
  :if (display-graphic-p)
  :diminish (ivy-posframe-mode "ivy-p")
  :config
  (ivy-posframe-mode 1)      
  (setq ivy-posframe-width 85)
  (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-bottom-left)))

  )
;;ivy-posframe窗口位置设置
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-point)))
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display)))
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-center)))
;; (setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-window-center)))

(message "Loading Ivy-posframe...DONE")
(provide 'init-iposframe)

;;; init-iposframe.el ends here
