{"id":13961854,"url":"https://github.com/gillyb/stable-windows","last_synced_at":"2025-07-21T06:32:01.283Z","repository":{"id":147175725,"uuid":"212327393","full_name":"gillyb/stable-windows","owner":"gillyb","description":"Keeps vim windows stable on layout changes","archived":false,"fork":false,"pushed_at":"2024-02-04T20:36:14.000Z","size":17672,"stargazers_count":40,"open_issues_count":8,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-28T07:34:40.951Z","etag":null,"topics":["neovim","neovim-plugin","vim","vim-layout","vim-plugin","vim-windows"],"latest_commit_sha":null,"homepage":null,"language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gillyb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-02T11:51:15.000Z","updated_at":"2024-07-01T08:25:46.000Z","dependencies_parsed_at":"2024-01-17T16:08:37.692Z","dependency_job_id":"b3b91c7d-e2eb-4dc8-9352-6dc0c6ac499b","html_url":"https://github.com/gillyb/stable-windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gillyb/stable-windows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillyb%2Fstable-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillyb%2Fstable-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillyb%2Fstable-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillyb%2Fstable-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gillyb","download_url":"https://codeload.github.com/gillyb/stable-windows/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillyb%2Fstable-windows/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253600,"owners_count":23900052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["neovim","neovim-plugin","vim","vim-layout","vim-plugin","vim-windows"],"created_at":"2024-08-08T17:01:32.360Z","updated_at":"2025-07-21T06:31:56.274Z","avatar_url":"https://github.com/gillyb.png","language":"Vim Script","funding_links":[],"categories":["Vim script"],"sub_categories":[],"readme":"# ❗ vim(9.0.0667) deprecates this plugin\nA new option is now available in both vim(9.0.0667) and neovim(0.9) that should replace this plugin.\nThe new `'splitkeep'` option offers two new available behaviors.\n* `set splitkeep=screen` keeps the same screen screen lines in all split windows and is the most \"stable\" to me.\n* `set splitkeep=topline` keeps the same topline as an alternative.\n\n# Not maintained anymore\n\nThere are issues with this plugin, but I've decided that I'm not going to try to maintain it.  \nI also converted my nvim config to lua and am trying to use only lua based plugins.\n\nA good lua based plugin that solves this same problem, and even better: [stabilize.nvim](https://github.com/luukvbaal/stabilize.nvim)\n\n\n# stable-windows\n\nKeeps vim windows stable when layout changes.\n\nIt really annoys me when opening new windows in vim (especially\nusing the quickfix or location list) and vim automatically\nadjusts the text in all the windows so the cursor line is \ncentered.\n\nThis is what I'm talking about:  \n![Unstable vim windows](https://github.com/gillyb/assets/raw/master/stable-windows/not-stable.gif)\n\nAnd after using the 'stable-windows' plugin, your vim will\nbehave like this:\n![Stable vim windows](https://github.com/gillyb/assets/raw/master/stable-windows/stable.gif)\n\n## Installation\n\n* VimPlug  \n  Place this in your .vimrc:  \n  `Plug gillyb/stable-windows`\n\n  And then open vim and run:  \n  ```bash\n  :source %\n  :PlugInstall\n  ```\n\n* Vundle  \n  Place this in your .vimrc:  \n  `Plugin gillyb/stable-windows`\n\n  And then open vim and run:  \n  ```bash\n  :source %\n  :PlugInstall\n  ```\n\n* NeoBundle  \n  Place this in your .vimrc:  \n  `NeoBundle gillyb/stable-windows`\n\n  And then open vim and run:  \n  ```bash\n  :source %\n  :NeoBundleInstall\n  ```\n\n* Pathogen  \n  Run the following in a terminal:  \n  ```bash\n  cd ~/.vim/bundle\n  git clone https://github.com/gillyb/stable-windows\n  ```\n\n\n## Usage\n\nYou do not need to do anything special (except installing)\nto use this plugin. Once it's loaded in vim, it will just\nwork.\n\nPlease enjoy, feel free to contribute and keep on vimming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgillyb%2Fstable-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgillyb%2Fstable-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgillyb%2Fstable-windows/lists"}