You can reveal the current directory with the command:
:pwd
To change the working directory for the current tab, use the command:
:cd
Note that both :pwd
and :cd
commands are native to Vim. You can call the equivalent commands for your shell by running :!pwd
or :!cd
.