禁止vim生成un~文件
禁止vim生成un~文件:
在vim的安装目录下找到:文件vimrc_example.vim
在文件最后位置添加:
set noundofile
set nobackup
set noswapfile
如:
其中
set nobackup " do not keep a backup file, use versions instead
set undofile " keep an undo file (undo changes after closing)
set noswapfile " do n
原创
2021-04-04 11:35:54 ·
333 阅读 ·
0 评论