I feel my current VIM setup is pretty sweet, but there is one thing that annoys me time and time again: how can I open a file or add a file to the same directory as the current file I am editing?
If I should open NerdTree it will just list the contents of
$PWD and I need to manually browse down to where I want to go. I'd like to have a workflow a bit like this:
- Find a file somehow (NerdTree, Ctrl-P or
- :SwitchCWDToSameAsCurrentFile (change working directory to same as the current file)
- Open NerdTree or
:e .and go to the current working directory
- Add/Open a file from the current working directory