Skip to content

neeasade/stillness-mode.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stillness-mode

A global emacs minor mode that stops windows from resizing and scrolling when you complete something. Inspired by Psionikus.

https://i.imgur.com/sqFpzWx.gif https://i.imgur.com/kJ4uVC6.gif

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:

About

an emacs mode to make your windows stay still!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published