Posts Tagged ‘change working directory’

How to change VIM’s working directory

Wednesday, February 25th, 2009

To change VIM’s current working directory, type: :cd NEW_DIRECTORY To display the current working directory, type: :pwd To change the working directory to that of the file that is open at the moment, type: :cd %:h