I want to disable the terminal
statusline in gVim as it seems quite useless and I usually have the windows at a relatively small size when using gVim, so it takes up too much space.
I've tried quite a few things, like this:
" Disable statusline in gvim terminal window
autocmd TermOpen * setlocal laststatus=0
autocmd TermClose * setlocal laststatus=2
This results in an error on startup:
E216: No such group or event TermOpen * setlocal laststatus=0
Even if it didn't error, I don't think it would have done what I wanted anyway, as the
statusline on other windows would also be disabled until I closed the terminal window.