Fix vim settings restoration after closing the finder