做一个程序员就技术论技术,不是说不可以谈论政治,但政治是国界的技术是无国界的,实在看不惯notepad++在自己的首页上发布抵制奥运会的宣言,中国即使再没有人权也不能因为这个抵制世界性的体育赛事,这是一种赤裸裸的威胁。之前开发脚本都是用notepad++,鉴于此建议所有的人都不要用了--严重推荐VIM,介绍这个的已经也有很多了,不要怀疑大家的选择,入门很慢这点毋庸置疑,但入门后世界是宽广的,好比学武术,简单的三脚猫功夫是人都会,上乘武功的研习都得经历一番伤筋动骨的考验。
安装gvim很简单,界面也很简单,抛弃鼠标最大化的利用键盘操作区,熟练后的效率不可同日而语,而且有很多的插件可以利用(安装插件比较需要手工操作和对基础配置的了解,原版的功能足够初级人员用了),下面是对IE关联比编辑器的一个解决方案,比起单纯在注册表中注册gvim,前者能直接显示HTML高亮格式。
1. Right-click gvim.exe in Windows Explorer and click 'Create Shortcut'.
2. Rename the shortcut to 'gvim_ie'. Running a directory listing(dir) at a command prompt reveals the real name of the shortcut as'gvim_ie.lnk'.
3. Right-click the shortcut and click 'Properties'. Add thedesired command-line parameters to the 'Target' field (i.e.'"C:/Program Files/vim/vim62/gvim.exe" -M -c "set syntax=html" -c "setft=html"').4. Point the 'Editor Name' registry key to the link. [HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Explorer/View Source Editor/Editor Name] @="C://Program Files//vim//vim62//gvim_ie.lnk"
安装gvim很简单,界面也很简单,抛弃鼠标最大化的利用键盘操作区,熟练后的效率不可同日而语,而且有很多的插件可以利用(安装插件比较需要手工操作和对基础配置的了解,原版的功能足够初级人员用了),下面是对IE关联比编辑器的一个解决方案,比起单纯在注册表中注册gvim,前者能直接显示HTML高亮格式。
1. Right-click gvim.exe in Windows Explorer and click 'Create Shortcut'.
2. Rename the shortcut to 'gvim_ie'. Running a directory listing(dir) at a command prompt reveals the real name of the shortcut as'gvim_ie.lnk'.
3. Right-click the shortcut and click 'Properties'. Add thedesired command-line parameters to the 'Target' field (i.e.'"C:/Program Files/vim/vim62/gvim.exe" -M -c "set syntax=html" -c "setft=html"').4. Point the 'Editor Name' registry key to the link. [HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Internet Explorer/View Source Editor/Editor Name] @="C://Program Files//vim//vim62//gvim_ie.lnk"