I\'m a mac user giving vim a serious try. Most of the GUI editors I\'m used to allow me to open a directory as a \"project\" by executing a command like:
Try adding the following to your .vimrc
let g:netrw_liststyle=3
let g:netrw_keepdir=0
This will make the directory browsing use a tree style for showing the files (you can expand a directory by putting the cursor on a directory and hitting enter) and make the current working directory also be the one you are browsing.
You might also be interested in the NERDTree plugin that provides a directory browser that is more advanced than the built in one. It has an option
let g:NERDTreeChDirMode=2
to make the current directory match the root of the displayed tree or
let g:NERDTreeChDirMode=1
to change the directory whenever you use a command (:e
or :NERDTree
) to browse a new directory.