1

Windows 中禁止 gVim 生成备份文件

 1 year ago
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.
neoserver,ios ssh client

Windows 中禁止 gVim 生成备份文件

2023-08-19     tech vim windows
vim.jpg

因为本地环境会自动同步文件,每次都把 vim 产生的 ~ 之类的一系列文件也同步上去,就很麻烦。可以如此关闭:

image-20230821174223714
set nobackup   # 关闭 ~ 文件
set noundofile # 关闭 un~ 文件
set noswapfile # 关闭 swap 文件
image-20230821172736242

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK