This has been a long term joke, but as an avid vim user, it's simple.
Once you open your file and edit it, to quit vi/vim, you simply:
Quit without saving:
ESC, then :q
If you ctrl-c, you'll create a swap file..
Quit with saving:
ESC, then :ZZ
Vim is really the ultimate editor.. learn to...