ripping magic out of of vim plugin