You can start a shell from Vim with the command :sh . When the shell exits (after the exit or Ctrl + D exit ) you return to Vim. The name of the shell command comes from the shell option.
For a Vim terminal (on Unix-like systems), you can also use Ctrl + Z to pause Vim and return to the shell from which it was launched. To resume the Vim process, use the fg command.
source share