Re: vim reporting a swap file
On Wed, 09 Mar 2005 14:10:36 +0100, Bob Alexander <bob@ngi.it> wrote:
> Each time I try editing my ~/todo.txt file vim (kvim) reports the
> existance of a todo.txt.swp file which a sudo find / -name todo.txt.swp
> cannot find ...
look for .todo.txt.swp
the swap file name begins with a dot.
Furthermore, the swap file has to be deleted manually. Unless you do
that, vim will always report about the presence of swap file.
Here is what I do
1) store the actual file with a different name
2) recover the file when vim prompts the existence of swap file
3) diff actual_file new_file
4) remove swap file (and delete duplicate files)
For more details, use
:h recovery.txt
in the vim window.
raju
--
friends don't let friends use windows.
Kamaraju S Kusumanchi
Cornell University
http://people.cornell.edu/pages/kk288/
http://groups.yahoo.com/group/flumech
Reply to: