feat: initial release
This commit is contained in:
17 files changed
+215
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# 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)
|
||||
Reference in new issue
Block a user