remove the vimline temporarily; extract common code of tab close and reload