Move vim plugin code to separate example file