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
- Host: GitHub
- URL: https://github.com/honmaple/emacs-maple-minibuffer
- Owner: honmaple
- License: gpl-3.0
- Created: 2019-08-06T07:36:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-16T13:40:52.000Z (over 4 years ago)
- Last Synced: 2025-04-08T22:32:17.437Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 1.78 MB
- Stars: 81
- Watchers: 5
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.org
- License: LICENSE
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)