34 lines
620 B
Markdown
34 lines
620 B
Markdown
# tiny-equalizer.nvim
|
|
|
|
A tiny plugin for Neovim 0.12+ that equalizes splits when the terminal is
|
|
resized.
|
|
|
|
Zero config. ~10 lines of Lua.
|
|
|
|
## Features
|
|
|
|
- Equalizes all splits on terminal resize
|
|
- Preserves your current tab (doesn't jump to another tab)
|
|
- Works out of the box — no setup call required
|
|
|
|
## Requirements
|
|
|
|
- Neovim >= 0.12
|
|
|
|
## Installation
|
|
|
|
Add to your `vim.pack.add()` call:
|
|
|
|
```lua
|
|
"https://github.com/swaits/tiny-equalizer.nvim",
|
|
```
|
|
|
|
## How it works
|
|
|
|
On `VimResized`, runs `tabdo wincmd =` to equalize all splits across all
|
|
tabs, then switches back to the tab you were on.
|
|
|
|
## License
|
|
|
|
[MIT](LICENSE)
|