rm the swp file in Resources