How do I change the current directory to the directory of the current

file? You can use the following command to change the current directory to the directory of the current file:

    :cd %:p:h

To automatically change the current directory to the directory of the current file, simply set the option ‘autochdir’.

    :set autochdir

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind