Shade.nvim
Shade.nvim copied to clipboard
Unshaded zones on window resize
Hi!
If I narrow the size of active window/buffer/split, a newly opened part of inactive window appears to be unshaded.
I guess, some autocmd needs to be added to reshade inactive windows/buffers/splits on every resize
That should already be in place.
How is it you're resizing splits? It works here with mouse dragging the separator, and with the <c-w>
controls.
I'm using these keymaps to resize with Ctrl+Arrows
local keymap = vim.api.nvim_set_keymap
local nrmaps = { noremap = true, silent = true }
-- Resize with arrows
keymap("n", "<C-Up>", ":resize +2<CR>", nrmaps)
keymap("n", "<C-Down>", ":resize -2<CR>", nrmaps)
keymap("n", "<C-Left>", ":vertical resize -2<CR>", nrmaps)
keymap("n", "<C-Right>", ":vertical resize +2<CR>", nrmaps)