取消Linux下Vim自动生成~备份文件
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
1. 进入到vim的安装目录,一般为 /usr/share/vim/vim70/ , 或类似 /usr/share/vim/vim?? /;
2. 如果有 .vimrc.vim 文件,查找到该文件中的如下内容:
if has("vms")
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file
set nobackup " do not keep a backup file, use versions instead
else
set backup " keep a backup file
用vim注释符(")注释掉后两行,即
if has("vms")
set nobackup " do not keep a backup file, use versions instead
"else
" set backup " keep a backup file
set nobackup " do not keep a backup file, use versions instead
"else
" set backup " keep a backup file
3. 如果没有
.vimrc.vim 文件,拷贝
vimrc_example.vim 文件到同一目录下,并重命名为
.vimrc.vim, 然后再按照第二步修改;
4. 操作完成。
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献8条内容
所有评论(0)