Converted to work as a Vim plugin, as well.
Fixed paths for use as Vim plugin.