137527Re: Removing junk .swp files
- May 8, 2013On 2013-05-08, Paul wrote:
> On Wednesday, 01 May, 2013 at 20:11:08 BST, Mike Hume wrote:Also, not all swap files end in .swp. If Vim needs to create a swap
> >You could setup a tmp directory for where swp files are stores.
> >set directory=~/.vim/tmp/swap
> >If you have swp files littered about, run this command to
> >recursively find and delete them:
> >find . -type d -name .swp | xargs rm -rf
> I don't recommend this, because like George Dinwiddie says, it
> doesn't check to see if any swap files are in use, but this is a
> more efficient command:
> find ~ -type f -name \*.swp -delete
file and one ending in .swp already exists, Vim will use the
extension .swo for the new one and .swn after that. I think it just
continues backwards through the alphabet. So using something like
would be more thorough.
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>