Vim Tips Wiki
(Remove html character entities)
No edit summary
Line 18: Line 18:
 
:recover
 
:recover
 
</pre>
 
</pre>
  +
<div style="margin-left:-9999px;">
 
  +
[http://www.vipsexshop.com.br Sex Shop]
  +
[http://www.requintesexshop.com.br Sex Shop]
  +
[http://www.sexshop.com.vc Sex Shop]
  +
[http://www.belasexshop.com.br Sex Shop]
  +
[http://www.belasexshop.com Sex Shop]
  +
[http://blog.vipsexshop.com.br Dicas de Sexo]
  +
[http://www.viplingerie.com.br Lingerie]
  +
[http://www.vipcalcinhas.com.br Calcinhas]
  +
[http://www.uniformesbr.com Uniformes Profissionais]
  +
[http://www.uniformesbr.com Uniformes]</div>
 
This command only works if you have a swap file. If you do not have a swap file, the recover command will not work.
 
This command only works if you have a swap file. If you do not have a swap file, the recover command will not work.
   

Revision as of 14:25, 8 November 2011

Tip 286 Printable Monobook Previous Next

created July 23, 2002 · complexity basic · author Little Dragon · version 5.7


I was once editing a file and wanted to test something. The test was meant to add a line at the end of the file, from outside Vim. All was fine, but instead of >> to append the output to the file, I wrote > to replace the file with the output by mistake.

If you happen to do something like that, the solution is:

:recover

This command only works if you have a swap file. If you do not have a swap file, the recover command will not work.

Comments