An open API service indexing awesome lists of open source software.

https://github.com/honmaple/emacs-maple-minibuffer

Show minibuffer with another frame
https://github.com/honmaple/emacs-maple-minibuffer

Last synced: 9 months ago
JSON representation

Show minibuffer with another frame

Awesome Lists containing this project

README

          

* emacs-maple-minibuffer
Show minibuffer with another frame

** screenshot
[[https://github.com/honmaple/emacs-maple-minibuffer/blob/master/screenshot/example.gif]]

** How to use
#+begin_src bash
git clone https://github.com/honmaple/emacs-maple-minibuffer ~/.emacs.d/site-lisp/maple-minibuffer
#+end_src

#+begin_src elisp
(use-package maple-minibuffer
:ensure nil
:hook (after-init . maple-minibuffer-mode)
:config
(setq maple-minibuffer:position-type 'window-bottom-left
maple-minibuffer:border-color "gray50"
maple-minibuffer:height nil
maple-minibuffer:width 0.7
maple-minibuffer:cache t)

(setq maple-minibuffer:action '(read-from-minibuffer read-string)
maple-minibuffer:ignore-action '(evil-ex eval-expression))

(add-to-list 'maple-minibuffer:ignore-action 'org-schedule)
(add-to-list 'maple-minibuffer:ignore-regexp "^helm-")

;; more custom parameters for frame
(defun maple-minibuffer:parameters ()
"Maple minibuffer parameters."
`((height . ,(or maple-minibuffer:height 10))
(width . ,(or maple-minibuffer:width (window-pixel-width)))
(left-fringe . 5)
(right-fringe . 5))))
#+end_src

*** *maple-minibuffer:postion-type*
- frame-center
- frame-top-center
- frame-top-left
- frame-top-right
- frame-bottom-left
- frame-bottom-right
- window-center
- window-top-center
- window-top-left
- window-top-right
- window-bottom-left
- window-bottom-right)