A global emacs minor mode that stops windows from resizing and scrolling when you complete something. Inspired by Psionikus.
➡ |
Installation:
with straight.el:
(straight-use-package '(stillness-mode :host github :repo "neeasade/stillness-mode.el" :branch "main"))
with vc-use-package (emacs 30)
(use-package stillness
:demand t
:vc (:url "https://github.com/neeasade/stillness-mode.el" :branch "main"))
Features:
- works with horizontally stacked windows
- accounts for windows below the expected minibuffer height
- keep your region up if it would be visible
Customization
stillness-mode
should just work, but you can tell it the expected minibuffer
height by setting stillness-mode-minibuffer-height
Caveats:
- if you depend on the point during a completing read, this breaks you (eg embark)
stillness-mode
doesn’t account for line wrapping.
See Also: