Skip to content

20200408 - v2.7.3

Compare
Choose a tag to compare
@skywind3000 skywind3000 released this 07 Apr 19:14
· 202 commits to master since this release
  • new macro $(VIM_PWD) or <pwd> for vim's current working directory (which :pwd returns).
  • difference between $(VIM_PWD) and $(VIM_CWD) is that $(VIM_CWD) will change if -cwd=xxx is given.

example:

:cd /usr/share

than:

:AsyncRun -cwd=/usr/include echo from $(VIM_PWD) to $(VIM_CWD)

output:

from /usr/share to /usr/include