After causing an infinite recursion by putting
vim -c ':term ++curwin'
in my ~/.bashrc
, I wonder if there's a way to do it that actually works.
I know for tmux there's this solution: How can I set my default shell to start up tmux
But in vim-terminal the $TERM
variable stays the same.
VIM_TERMINAL
environment variable. See https://superuser.com/questions/1399061/how-to-differentiate-vim-terminal-from-regular-terminal-in-bash. – Torin Mar 26 '22 at 19:51