vimtricks.wiki Concise Vim tricks, one at a time.

How do you disable swap files in Vim?

Answer

set noswapfile

Explanation

Use set noswapfile to disable creating .swp files. Reduces filesystem clutter but removes crash recovery. Use for disposable files.

Next

How do I visually select a double-quoted string including the quotes themselves?