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
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 (
<C-w>>,<C-w><,<C-w>+,<C-w>-).
Exit smooth resize by using any other nvim command that is not a resize command.
{
"aronjohanns/smooth-resize.nvim",
opts = {}
}
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.
-- Example configuration for better integration with Oil.nvim
{
disabled_fts = { "oil" }
}