0

When executing a vim command, such as the following:

:w!<CR>:!cd %:p:h

What is the effect after the command is finished? Is the new cwd the directory that I've cd'ed into? Or does that only last for the duration of the command?

David542
  • 2,445
  • 14
  • 50

0 Answers0