Mike, BPJ
On 5/1/13 3:11 PM, Mike Hume wrote:
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
That "rm -rf" can be a bit destructive when run on a directory.
I suggest
find . -name "*.swp" -exec rm {} ";"
This won't check to see if the file is in use, so do it when vim isn't
running.
- George
~Mike
On May 1, 2013, at 10:49 AM, BPJ <[email protected]> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.