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
~Mike
On May 1, 2013, at 10:49 AM, BPJ <bpj@melroch.se> wrote:
> Is there any easy/automatized way to remove junk (as in not associated with any file currently open in (g)vim) .swp files
> in the current directory and its subdirectories?
> A plugin perhaps?
>
> /bpj
>
> --
> --
> 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@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
--
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@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Wednesday, May 1, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment