Change Vim resources to hash