Why does Vim sometimes create .swp files?
1 answer
Vim creates .swp
files for recovery . If you can't save, vim can recover (at least some) files.
The merits of turning them off depend on what you are doing. If you are using vim for anything that has an assembly, you are probably keeping your sources permanently (how long does it take for you to code and compile, build and run ut? This is probably not a clock). I hate swps because they always require me to tell the version control system to ignore them.
+5
source to share