Fix a problem when vim is running in tmux