0
A
回答
1
下面解釋從:help message
*E37* *E89*
No write since last change (add ! to override)
No write since last change for buffer {N} (add ! to override)
You are trying to |abandon| a file that has changes. Vim protects you from
losing your work. You can either write the changed file with ":w", or, if you
are sure, |abandon| it anyway, and lose all the changes. This can be done by
adding a '!' character just after the command you used. Example: >
:e other_file
changes to: >
:e! other_file
*E162*
No write since last change for buffer "{name}"
This appears when you try to exit Vim while some buffers are changed. You
will either have to write the changed buffer (with |:w|), or use a command to
abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you
don't throw away changes you really want to keep. You might have forgotten
about a buffer, especially when 'hidden' is set.
[No write since last change]
This appears when executing a shell command while at least one buffer was
changed. To avoid the message reset the 'warn' option.
相關問題
- 1. ASPxCombobox未從SQLdatasource保存在會話中
- 2. 在vim中保存以前的映射
- 3. 更改tmux保存會話的位置?
- 4. 未從HTTPHandler保存的C#會話
- 5. 在vim中恢復未保存的更改
- 6. CodeIgniter會話未保存
- 7. 會話未被保存
- 8. 會話未被保存
- 9. 未保存會話狀態
- 10. PHP:會話未保存
- 11. 會話#如何保存(...)以識別已更改的實體?
- 12. 未保存在ServiceStack中的會話
- 13. 在從NSMutableDictionary加載的textview中保存已更改的文本
- 14. Magento會話調試 - 保存/加載會話
- 15. 當從socket.io中檢索會話存儲時未保存會話屬性
- 16. PHP會話未加載
- 17. 保存Tab選項名稱和ConqueShell以及Vim會話
- 18. 未將PHP會話保存在memcache中
- 19. 對話框中的星級不會更改保存的值
- 20. 從以前保存的文件加載時緩衝區溢出
- 21. 更改會話中的值並保存。 Laravel
- 22. 如何更改已保存在會話中的值
- 23. PHP會話未保存在會話文件中
- 24. 從會話中選擇未保存的對象
- 25. StringSets不會保存/加載到/從SharedPreferences
- 26. 從保存對話框捕獲取消狀態,以便關閉未保存更改的MS Word文檔
- 27. 流星 - 從會話頁面更改/重新加載
- 28. 未保存SQLite更改
- 29. Hibernate SessionFactory未保存更改
- 30. 未保存Rails css更改
你的問題是不完美的清晰。你是否用':q!'來關閉文件?你退出了編輯器還是隻刪除了一個緩衝區?我無法重現你所描述的內容。你能更精確嗎? – 2015-03-31 20:28:14