I often use :Ex
or :Sex
to explore the filesystem from an opened file directory, or just invoke vim passing a directory to start exploring the filesystem and then opening a file.
In any case, while navigating the directory tree, using the :edit {file}
command to open new files always takes paths relative to the current directory from which vim was executed; so:
~# vim .
-> navigate to Development/
-> open a file
:e <tab> will complete path from home dir
or:
~# vim Development/
-> open a file
:Sex
:e <tab> will complete paths from Development/
is it possible (automagically or with a command) to change vim current working directory to the current selected directory while navigating the filesystem?