惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Forbes - Security
Forbes - Security
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Y
Y Combinator Blog
Recorded Future
Recorded Future
博客园 - Franky
I
InfoQ
T
The Blog of Author Tim Ferriss
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
雷峰网
雷峰网
P
Palo Alto Networks Blog
G
GRAHAM CLULEY
Cloudbric
Cloudbric
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
Google DeepMind News
Google DeepMind News
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Check Point Blog
爱范儿
爱范儿
The GitHub Blog
The GitHub Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
W
WeLiveSecurity
T
Threat Research - Cisco Blogs
U
Unit 42
N
Netflix TechBlog - Medium
The Cloudflare Blog
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
T
Troy Hunt's Blog
Engineering at Meta
Engineering at Meta
H
Heimdal Security Blog
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tenable Blog
B
Blog
S
Securelist
H
Hacker News: Front Page
Google Online Security Blog
Google Online Security Blog
G
Google Developers Blog

博客园 - 三杯两盏淡酒

浏览器感染木马插件 访问overbridgenet.com恶意网站 升级windows 11 25h2的步骤(xjl456852原创) Dify纯内网dify插件离线安装支持多平台多架构跨架构(xjl456852原创) 2025骨传导 气传导耳机对比 Centos7 ubuntu 安装nginx 大模型chatgpt search联网搜索插件与默认搜索兼容设置 解决 OSError: [WinError -1066598274] Windows Error 0xc06d007e (xjl456852原创) TeraCloud国外WebDav服务器免费25GB空间 同步文档 同步数据 bandizip批量压缩解压(xjl456852原创) notepad3 替代windows自带文本编辑器(xjl456852原创) nextcloud 使用markdown editor 编辑器(xjl456852整理) win10 使用tracetcp.exe的错误问题解决(xjl456852原创) clickhouse 复杂查询时嵌套连接join可能存在的异常解决(xjl456852原创) EA逆向生成数据库E-R图(mysql,mariadb数据库-->ER图) v13 及以后的版本处理方式(xjl456852原创) pycharm 输入中文汉字重叠(xjl456852原创) webstrom破解-webstrom2018.2.4破解方法(xjl456852原创) 用户中心 - 博客园 前端跳转处理--房天下的访问页面部分ip自动跳转到登录页面的解决办法(xjl456852原创) maven项目运行tomcat7-maven-plugin:run时出现Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.util.Scanner(xjl456852原创)
windows10安装gvim的_vimrc不生效的处理方法(xjl456852原创)
三杯两盏淡酒 · 2019-08-31 · via 博客园 - 三杯两盏淡酒

在我Windows中安装的Gvim的路径为:

D:\soft\Vim

1

D:\soft\Vim

目录下结构为:

当我修改安装目录下的_vimrc这个配置时,再次启动Gvim,看不到效果,这个配置没有生效.

在网上查了各种方法,都没效果.最后再staticoverflow中有人提到需要设置几个环境变量就可以.

最后试验果然成功了.

解决方案:

增加三个环境变量:

第一个:

VIM

D:\soft\Vim

第二个:

VIMRUNTIME

D:\soft\Vim\vim81

第三个:

HOME

D:\soft\Vim

效果如下图所示:

在Path中将

D:\soft\Vim\vim81也添加进去.

现在修改安装目录的_vimrc就可以生效了.

参考: