swap file "*.swp" already exists!的解决方法
来源:互联网 发布:htc解锁软件 编辑:程序博客网 时间:2024/05/22 13:03
swap file “*.swp” already exists!的解决方法
Linux下编程难免要开启多个vim共同编辑, 同一个文件,这是再次保存就会出现:
swap file “*.swp” already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
原因:
使用vim编辑文件实际是先copy一份临时文件并映射到内存给你编辑, 编辑的是临时文件, 当执行:w后才保存临时文件到原文件,执行:q后才删除临时文件。
每次启动检索式否有临时文件, 有则询问如何处理,就会出现如上情景。
解决方法:
ll -a //显示隐藏文件rm .*.swp //删除所有隐藏文件
阅读全文
0 0
- swap file "*.swp" already exists!的解决方法
- swap file "*.swp" already exists!的解决方法
- swap file "*.swp" already exists!的解决方法
- swap file “*.swp”already exists
- Git-解释“Swap file .MERGE_MSG.swp already exists”的问题
- 解决 swap file “*.swp”already exists!问题
- Swap file ".Podfile.swp" already exists!
- Swap file ".Podfile.swp" already exists!
- 解决Swap file ".ceshi.c.swp" already exists!问题
- Swap file ".." already exists!
- Swap file "/etc/.hosts.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it,
- 删除编辑文件警告Swap file “…” already exists!
- 删除编辑文件警告Swap file “…” already exists!
- 出现Swap file….already exists以下错误如何解决?
- File already exists: filesystem '/path/file', transaction svn常见错误解决方法
- Found a swap file by the name “.git/.MERGE_MSG.swp”
- Found a swap file by the name ".jsidInspector.py.swp"
- Found a swap file by the name “.git/.MERGE_MSG.swp”
- java学习【知识点及代码14】
- spring 对jdbc的支持
- FastJson的使用方法总结
- UVALive
- 当Android N7.0遇到这个警告提示: Detected problems with app native libraries
- swap file "*.swp" already exists!的解决方法
- bootstrap创建动态进度条
- 集群脑裂问题分析
- 使用POI操作Excel将数据导入mysql
- Apache web服务
- 操作系统(Operating Systems)学习心得
- 近地球的小行星-Apophis--阿波菲斯
- JFreeChart API中文文档
- XML为什么使用 DTD?