moves vim hook to core because a dist directory is needed.