vim-maximizer icon indicating copy to clipboard operation
vim-maximizer copied to clipboard

Do not try to enter normal mode when in terminal mode

Open lrustand opened this issue 3 years ago • 3 comments

lrustand avatar Mar 10 '22 13:03 lrustand

This prevents an error message when maximizing terminals

lrustand avatar Mar 10 '22 13:03 lrustand

Any chance of this getting merged? @lrustand have you found an alternative workaround?

dmmulroy avatar Dec 12 '22 04:12 dmmulroy

If anyone else stumbles upon this, this is how I got around the error:

vim.keymap.set("t", "<leader>m", function()
	pcall(vim.cmd.MaximizerToggle)
end)

dmmulroy avatar Dec 12 '22 04:12 dmmulroy