No write since last change (add ! to override)[No write since last change]
/bin/bash: q: command not found
shell returned 127
Press ENTER or typecommand to continue
在使用Vim编辑文件时,使用vim打开文件但是又不想编辑,退出时发现退出失败:No write since last change (add ! to override)[No write since last change]/bin/bash: q: command not foundshell returned 127Press ENTER or type command to continue使用“!q” and “wq!”命令无法退出vim。解决方案使用:q!命令打开文件