vim 2023-10-23

any way to make :term take the current window rather than splitting?

from :help :term:

++curwin	Open the terminal in the current
					window, do not split the current
					window.  Fails if the current buffer
					cannot be |abandon|ed.

that doesn’t work for me for some reason

I actually haven’t tried it yet myself

:term ++curwin nu just worked for me