windex.nvim icon indicating copy to clipboard operation
windex.nvim copied to clipboard

[bug] maximize is not resizing current window

Open alex-popov-tech opened this issue 2 years ago • 4 comments

Hey!

It looks like window is not being resized after all other are hidden

before pressing: CleanShot 2022-06-26 at 00 03 33@2x

after pressing: CleanShot 2022-06-26 at 00 04 05@2x

alex-popov-tech avatar Jun 25 '22 21:06 alex-popov-tech

Hi sorry I'm not quite sure what is causing this. I tried using your settings from your nvim config but it still works for me so maybe it's having issues with another plugin. Could you please try going to ~/.cache/nvim and seeing if a .maximize_session-XXXXXXXXXX.vim exists after you try maximizing (with vim still open)?

declancm avatar Jun 25 '22 22:06 declancm

hey! sorry for delay :( no, i don't see such CleanShot 2022-06-30 at 00 10 14@2x

alex-popov-tech avatar Jun 29 '22 21:06 alex-popov-tech

No worries! I just want to double check that I'm understanding the issue correctly, are the original windows not able to be restored once you maximize? If this is the issue hopefully using require('windex').toggle_nvim_maximize() instead of require('windex').toggle_maximize() will work.

declancm avatar Jul 03 '22 11:07 declancm

sorry, which should i use? the one with nvim seems to work only for nvim, but not tmux

alex-popov-tech avatar Jul 06 '22 23:07 alex-popov-tech