> When I'm opening a file using vim and write and close the file , The
> temporary file named filename~ is not getting deleted even after I
> close the file after editing and saving..
> Any solution to the problem?
The solution isn't what you think :)
Swap-files (on *nix-like OSes) are named with the pattern
.filename.ext.swp
The swap files do/should always get cleaned up unless the Vim
process crashes.
The *backup* files are name
filename.ext~
with the tilde. Because they're backup files, they _should_
persist after Vim quits. However, you can tweak the behavior of
backup files with various options:
big picture:
:help backup-table
more details:
:h 'backup'
:h 'writebackup'
Hope this helps,
-tim
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---