I've read the help section for term, terminal, termopen, buftype, and I've read several stack questions, but I haven't been able to find a solution for settings options in terminal mode. I know about
tnoremap, what I want to do is set options, not remap keys.
" Terminal Buffer function! TerminalSettings() set nonumber set mouse= set list endfunction augroup terminal autocmd! autocmd TermOpen call TerminalSettings() augroup END
But this had no effect (as far as I could tell). Is this the correct approach incorrectly implemented, or do I need to do something else?
I tried opening Vim with the config, and it gave me an error:
E216: No such group or event: TermOpen call TerminalSettings()
Which leads me to believe that NeoVim at least has this event, since it opens without any errors.
I also tried using
setlocal instead of
set, but no change.
Setting the option manually works