Sunday, May 2, 2010

Re: Temporary files (was:Fwd: You have joined the group vim_use@googlegroups.com)

On 03/05/10 04:07, Lissa Aguilar wrote:
> ---------- Forwarded message ----------
> From: Lissa Aguilar<lissa.aguilar@gmail.com>
> Date: Sun, May 2, 2010 at 10:04 PM
> Subject: Re: You have joined the group vim_use@googlegroups.com
> To: vim_use<vim_use+subconfirm@googlegroups.com>, vim@vim.org
>
>
> I have a question about the temporary files created by VIM on my
> windows xp machine. Is there a way to get rid of them? and just have
> my main file that I work on? I'm reading other forums and the only
> work arounds i see are having to go into the directory and entering
> some more code to turn this off. Is there an other way to avoid this
> temp files? any suggestions?
>
> Cheers,
> lissa

1. Next time, when you have a new question, please ask it by creating a
new thread with a descriptive subject, not by replying to something
unrelated.

See also "How To Ask Questions The Smart Way"
http://www.catb.org/~esr/faqs/smart-questions.html

2. I suppose you mean backup files. If your Vim executable is compiled
with the +writebackup feature (i.e., +writebackup appears in the output
of the ":version" command, and ":echo has('writebackup')" (without the
quotes) gives a nonzero answer), you can ":set writebackup" (manually or
in your vimrc). With that option set, backups will still be created, but
they will be removed as soon as the new version of the editfile has been
written successfully. Another, less safe, option consists in ":set
nobackup" which disables backups completely; but in that case you run
the risk of losing both old and new versions if something goes wrong
while saving the file to disk.


Best regards,
Tony.
--
Just as most issues are seldom black or white, so are most good
solutions seldom black or white. Beware of the solution that requires
one side to be totally the loser and the other side to be totally the
winner. The reason there are two sides to begin with usually is
because neither side has all the facts. Therefore, when the wise
mediator effects a compromise, he is not acting from political
motivation. Rather, he is acting from a deep sense of respect for the
whole truth.
-- Stephen R. Schwambach

--
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

No comments: