I have a small
.bat file to open Vim along with a terminal running an
@echo off call C:\Users\myname\Miniconda3\condabin\activate.bat C:\Users\myname\Miniconda3\envs\myenv gvim -c "vert botright terminal C:\Users\myname\Miniconda3\condabin\conda.bat activate myenv &&echo Conda env:%CONDA_DEFAULT_ENV% &&ipython"
I am fairly happy, but the name of the terminal buffer is fairly annoying:
C:\Users\myname\Miniconda3\condabin\conda.bat activate myenv...
Hence, I manually change the name of such a terminal by putting the focus on the terminal buffer and by issuing
<c-W>:file IPYTHON but this is very boring and error prone.
A solution would be to automatically run the command
:file IPYTHON after I launched
:terminal but from the documentation that does not seems to be possible.
How can I solve my problem then? Shall I modify my
If so, how?