sponsor Vim development Vim logo Vim Book Ad

stable-windows : Keeps your vim windows stable when layout changes

 script karma  Rating 0/0, Downloaded by 103  Comments, bugs, improvements  Vim wiki

created by
Gilly Barr
script type
When opening new windows on vim (whether it's splits, location list or quickfix), vim might move the text around in the existing windows in order to keep the cursor positioned within each window view and sometimes centered. This can be annoying as it can distract you from what you're working on.

stable-windows keeps track of each opened window state and restores their positions when the layout changes so you won't notice any movement and it won't distract you.
install details
If you're using VimPlug then just add this to your .vimrc:
Plug 'gillyb/stable-windows'

On instructions for installing in other ways, visit: https://github.com/gillyb/stable-windows

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
stable-windows.zip 1.0.0 2019-10-05 7.0 Gilly Barr Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo