til/vim/meaning-of-a-tilde-at-the-end-of-filename.md

210 B

Typically files ending with a ~ are backups created by editors like emacs, nano or vi. Set backupdir to some other location if you don't want to see them everywhere.

set backupdir=/path/to/somewhere