Skip to content

Instantly share code, notes, and snippets.

@slashtechno
Created June 19, 2022 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slashtechno/c283320e8ffef766172fd8f137924dfc to your computer and use it in GitHub Desktop.
Save slashtechno/c283320e8ffef766172fd8f137924dfc to your computer and use it in GitHub Desktop.
Prevent Vim from creating backup files in the working directory
set backupdir=$HOME/vimfiles/tmp/
set undodir=$HOME/temp/vimfiles/tmp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment