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

Ending up in insert mode

Open z4nsh1n opened this issue 1 year ago • 2 comments

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.

z4nsh1n avatar Aug 16 '24 21:08 z4nsh1n

Do you have a minimal config that can replicate this?

declancm avatar Aug 18 '24 21:08 declancm

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: @.***>

z4nsh1n avatar Aug 20 '24 22:08 z4nsh1n