https://github.com/aronjohanns/smooth-resize.nvim
A super simple smooth resize plugin for neovim
https://github.com/aronjohanns/smooth-resize.nvim
neovim
Last synced: 3 months ago
JSON representation
A super simple smooth resize plugin for neovim
- Host: GitHub
- URL: https://github.com/aronjohanns/smooth-resize.nvim
- Owner: aronjohanns
- Created: 2026-01-21T22:00:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-01-22T20:11:24.000Z (3 months ago)
- Last Synced: 2026-01-23T12:52:18.382Z (3 months ago)
- Topics: neovim
- Language: Lua
- Homepage:
- Size: 1000 Bytes
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-neovim-sorted - aronjohanns/smooth-resize.nvim
- awesome-neovim - aronjohanns/smooth-resize.nvim - Smooth, continuous window resizing with the default window resizing mappings. (Split and Window / Indent)
README
# smooth-resize.nvim
smooth-resize.nvim is a small Neovim plugin that enables smooth, continuous window resizing with the default window resizing mappings
Inspired by [vim-resize-mode](https://github.com/sedm0784/vim-resize-mode)
**Before smooth-resize.nvim (Notice repeated Ctrl-W)**
Ctrl-W+Ctrl-W+Ctrl-W+Ctrl-W+Ctrl-W+Ctrl-W>Ctrl-W>
**With smooth-resize.nvim**
Ctrl-W+++++>>
**Using with count works as well**
5Ctrl-W+++++>>
> [!NOTE]
> smooth-resize.nvim is intentionally minimal. It does not provide keyboard remapping options and relies on Neovim’s default window resizing mappings (`>`, `<`, `+`, `-`).
Exit smooth resize by using any other nvim command that is not a resize command.
# Installation
## Lazy.nvim
```lua
{
"aronjohanns/smooth-resize.nvim",
opts = {}
}
```
## Configuration
No configuration is needed but in rare cases it's required to disable smooth resize for certain filetypes. For example the file explorer Oil.nvim does not play well with smooth resize, we can therefore ignore its filetype "oil" and smooth resize will fall back to nvim default behaviour.
```lua
-- Example configuration for better integration with Oil.nvim
{
disabled_fts = { "oil" }
}
```