Vim error E510: Can't make backup file (add ! to override)

后端 未结 2 492
既然无缘
既然无缘 2021-02-13 00:04

I am using Vim on Windows and decided to create a separate directory for all my backup files created by vim.

I am using Vim from my command prompt

相关标签:
2条回答
  • 2021-02-13 00:53

    On Linux, you can do by setting in editor- :verbose set backupdir?

    0 讨论(0)
  • 2021-02-13 01:05

    Kill the spaces around =

    set backupdir=D:\\VimTemp
    

    should work if you've created the directory.

    0 讨论(0)
提交回复
热议问题