2

When i use vim on windows, i realize that vim saves the file and closing the vim window deletes a .ext.swp file amd a .ext~ file

How do i disable or delete these files as the duplicates are causing my problems as i work on my host.

bouncingHippo
  • 5,502
  • 19
  • 62
  • 103
  • Possible duplicate of: http://stackoverflow.com/questions/743150/how-to-prevent-vim-from-creating-and-leaving-temporary-files ? – Alex W Aug 01 '12 at 14:56

1 Answers1

1

Turn off the vim swap files and backup files to disable the creation of these files:

:set noswapfile and :set nobackup.

See this question for more information.

Community
  • 1
  • 1
simont
  • 57,012
  • 16
  • 110
  • 130