When you edit and save files, Vim creates a file with the same name as the source file and the extension "un ~" at the end. How to stop Vim from creating this file (or) How to disable the Vim undofile function?
Vim 7.3 contains permanent undo as a new function, that is, undo information will not be lost when you exit Vim and will be saved in a file that ends with .un You set the parameter "undofile", so Vim creates a cancellation file when you save the original file. You can stop Vim from creating a backup file by clearing the option:
:set noundofile
Please note that this option is disabled by default. You explicitly included the "undofile" parameter in one of the initialization files. if you want your chronicles to be saved only in a specific directory, you can specify the parameter "undodir" in a directory that will contain all your aggregated shortages.
Source: http://vimhelp.appspot.com/vim_faq.txt.html#faq-7.2
TheEwook Mar 27 '13 at 14:02 2013-03-27 14:02
source share