[Solved] How to stop .swp files being generated? [closed]


Create a .gitignore file and put:

*.swp

If you want to really delete all .swp files, just rm *.swp in the command line terminal, before adding, commiting and pushing.

.swp files are created by Vim, they should be automatically deleted when you close the file and exit the editor.

solved How to stop .swp files being generated? [closed]