If you are programming in a enterprise enviroment and come from a linux background, I bet you have ran into the situation where you arn’t sure if VIM is going to leave trash files around.
VIM on many different types of installations will create both swap files and backup files.
How to disable VIM swap and backup files:
Go into your .vimrc file. Add these lines to the bottom –