Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tumashu/vertico-posframe
https://github.com/tumashu/vertico-posframe
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tumashu/vertico-posframe
- Owner: tumashu
- License: gpl-3.0
- Created: 2021-07-30T00:37:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T08:47:47.000Z (10 months ago)
- Last Synced: 2024-02-17T07:35:07.982Z (9 months ago)
- Language: Emacs Lisp
- Size: 106 KB
- Stars: 80
- Watchers: 5
- Forks: 13
- Open Issues: 12
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: README of vertico-posframe
** What is vertico-posframe
vertico-posframe is an vertico extension, which lets vertico use
posframe to show its candidate menu.NOTE: vertico-posframe requires Emacs 26 and do not support mouse
click.** How to enable vertico-posframe
#+begin_example
(require 'vertico-posframe)
(vertico-posframe-mode 1)
#+end_example** Tips
*** How to let vertico-posframe work well with vertico-multiform.
#+begin_example
(setq vertico-multiform-commands
'((consult-line
posframe
(vertico-posframe-poshandler . posframe-poshandler-frame-top-center)
(vertico-posframe-border-width . 10)
;; NOTE: This is useful when emacs is used in both in X and
;; terminal, for posframe do not work well in terminal, so
;; vertico-buffer-mode will be used as fallback at the
;; moment.
(vertico-posframe-fallback-mode . vertico-buffer-mode))
(t posframe)))
(vertico-multiform-mode 1)
#+end_exampleNOTE: vertico-posframe-mode will be activated/deactivated by
vertico-multiform-mode dynamically when you add 'posframe' setting to
vertico-multiform-commands, please do not enable vertico-posframe-mode
globally at the moment.*** To conditionally disable posframe
#+begin_example
(setq vertico-multiform-commands
'((consult-line (:not posframe))
(t posframe)))
#+end_example*** How to show fringe to vertico-posframe
#+begin_example
(setq vertico-posframe-parameters
'((left-fringe . 8)
(right-fringe . 8)))
#+end_exampleBy the way, User can set *any* parameters of vertico-posframe with
the help of `vertico-posframe-parameters'.