Win7 中 gVim 不出现在右键菜单中的解决办法
安装完gVim,也许你会发现右键菜单中找不到gVim的菜单项。这是由于64位系统和32位系统的差异导致的。当然,如果你是和我一样有系统洁癖,喜欢绿色版本的话,也可以用这个方法来建立右键菜单项。
regedit 打开注册表,依次打开HKEY_CLASSES_ROOT/*/shell
在shell节点上点击右键,新建一个键值(key),叫“Edit with gVim”,或者叫其他你喜欢的名字,这将会出现在右键菜单中。
然后继续在刚新建的键值下再新建一个键值,叫”command”,这里必须严格按照这个。
在command下的字符串值中写入 E:\soft\Vim\vim72\gvim.exe “%1″
关掉注册表编辑器马上可以看到效果。
导出注册表项时可以看到:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Edit with Vim\command]
@=”E:\\soft\\Vim\\vim72\\gvim.exe \”%1\”"
直接下载注册表文件:gvim.reg





jianfen 9:26 pm on September 6, 2009 Permalink |
怎么编译的,能把编译的步骤写一些吗,谢谢
bya 11:33 am on September 16, 2009 Permalink |
可否提供一个3.13p1的php_apc.dll
admin 10:20 am on October 5, 2009 Permalink |
@bya
已经附上,请测试。
admin 10:31 am on October 5, 2009 Permalink |
@jianfen
请参考: http://seaprince.cn/compiling-php-on-windows/
比如说APC扩展,只需要下载APC的扩展包,放入ext目录中,再重新
buildconf
configure –disable-all –enable-cli –enable-apc=shared
nmake
成功完成后,在Release_TS 中,就可找到php_apc.dll
luckgo 6:52 pm on May 26, 2010 Permalink |
兄弟,我装了PHP5.3 VC6,里面没有php_mcrypt.dll和libmcrypt.dll, 但我要启动php_mcrypt.dll,我就把PHP5.2中的php_mcrypt.dll和libmcrypt.dll拿来用,启动Apache后在日志中发现有这样错误:
PHP Warning: PHP Startup: mcrypt: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0
估计是不兼容问题,但我在网上找不到相关下载,也不知道如何编译,兄弟能不能帮忙编译个?
luckgo 8:10 pm on May 26, 2010 Permalink |
再请教个问题,PHP官方说在windows+apache环境下装PHP 5.3要选择VC6版本,网上搜到的全是相同的内容,而我当初却装了VC9Visual C++ 2008 Redistributable
luckgo 8:12 pm on May 26, 2010 Permalink |
(不小心提交了,晕)
而我当初却装了apache和PHP5.3 VC9,但已安装Visual C++ 2008 Redistributable,结果完全正常,这说明应该没问题吧?
seaprince 2:31 pm on June 3, 2010 Permalink |
@luckgo
PHP Warning: PHP Startup: mcrypt: Unable to initialize module\nModule compiled with module API=20060613\nPHP compiled with module API=20090626\nThese options need to match\n in Unknown on line 0
这个错误是版本不一致导致的。比如,mcrypt的编译环境是VC9,它就不能运行在VC6版本的PHP中。否则你就报你这个错。