Fix vim file_directory segment

Closes #117.
Closes #119.