Ending up in insert mode
After :Maximize or any of the other functions to get back to the restored view I end up in insert mode instead of staying in normal mode.
Do you have a minimal config that can replicate this?
With only Lazy and Maximize installed I could reproduce this with this line in my config file.
vim.cmd("autocmd BufWinEnter,WinEnter term://* startinsert")
This causes the issue.
Op zo 18 aug 2024 om 23:28 schreef Declan Mullen @.***>:
Do you have a minimal config that can replicate this?
— Reply to this email directly, view it on GitHub https://github.com/declancm/maximize.nvim/issues/16#issuecomment-2295398382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAEELARHR2DIGLTMY67LOLZSEGWFAVCNFSM6AAAAABMUYNYOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGM4TQMZYGI . You are receiving this because you authored the thread.Message ID: @.***>