1
Windows 中禁止 gVim 生成备份文件
source link: https://blog.kelu.org/tech/2023/08/19/how-to-stop-gvim-from-generating-backup-files-in-windows.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
因为本地环境会自动同步文件,每次都把 vim 产生的 ~ 之类的一系列文件也同步上去,就很麻烦。可以如此关闭:
set nobackup # 关闭 ~ 文件
set noundofile # 关闭 un~ 文件
set noswapfile # 关闭 swap 文件
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK