vi E45: 'readonly' option is set (add ! to override)
时间: 2023-10-18 20:26:14 浏览: 113
earth_moon_orbit_ode45:设计用于 Mat-lab 的 ode45 的函数,用于模拟受地球和月球引力影响的射弹-matlab开发
当在使用vi编辑器时,如果出现E45: 'readonly' option is set (add ! to override)的错误提示,意味着当前文件被设置为只读模式,无法进行编辑操作。为了覆盖只读模式进行编辑,需要在命令行模式下输入":set noreadonly"命令来取消只读模式,然后可以进行编辑操作。如果仍然希望在只读模式下编辑文件,可以在输入":wq"命令保存并退出编辑器,或者输入":q!"命令强制退出编辑器。这样就可以解决vi编辑器出现E45错误的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [E45: ‘readonly‘ option is set (add ! to override)解决办法](https://blog.csdn.net/longgeaisisi/article/details/107055538)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [E45: ‘readonly‘ option is set (add ! to override)](https://blog.csdn.net/dxyzhbb/article/details/109333529)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文