解决方案:进入vim -> ESC -> :nohl -> enter
操作步骤:vim /etc/vimrc -> ESC -> /set t_Co
找到set t_Co这个字段把它的值设置成256然后保存退出即可修改成功。