0

I am trying to set a directory for swap files when using Vim on Git Bash. In my .vimrc file at C:\Users\USERNAME\.vim (USERNAME is replaced with my account name), I added a line\

set directory=C:\Users\USERNAME\.vim\swap//

But, it does not work. Vim can not put swap files into the directory. How can I set the directory for swap files Vim creates on Git Bash environment? Note that I am using Windows 10.

LazyPhD
  • 1
  • 1

0 Answers0