You can execute a command like this:
:!pwd However, you can execute a certain command and the console will open, where you can execute any commands you like and then exit and vim with all tabs will open. Please tell me this command.
from the documentation ( :help :shell ):
: sh [ell] This command starts a shell. When the shell exits (after the "exit" command) you return to Vim. For the shell command comes from the 'shell' option.
i.e., to launch the shell, enter the command :shell (or, for short :sh ).
$ export a=b; vim $ export a=b; vim , then :shell , in the shell instance that opens: $ echo $a . Received the answer: b . Did I do something wrong? - aleksandr barakinSource: https://ru.stackoverflow.com/questions/568752/
All Articles
fg? - avp