Saturday, December 6, 2014

Re: Vim creating backups despite backup being disabled in rc

Am 2014-12-06 00:53, schrieb Manish Jain:
> Hi,
>
> I am using Vim version 7.4.430 on FreeBSD-10.1 (i386). The last line
> of .vimrc is :
>
> set nobackup
>
> Yet whenever I edit a file, Vim creates a backup file .<file>un~
>
> I had never seen this behaviour in Vim, and it is getting annoying as
> it is messing up my filesystem. I tried inserting the following line
> to stop the behaviour :

That is not a backup file but an undo file which you can read about at
:h undo-persistence
Which also links to the 'undofile' setting which lets you disable this.

Best,
Christian

--
--
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/d/optout.

No comments:

Post a Comment