Vim 7.4.307 for windows » 荒野无灯weblog

Keep It Simple, Stupid.

荒野无灯weblog

Vim 7.4.307 for windows

2014-03-11 update: 这次更新了下编译器,采用msvc 11 (from VS 2012)编译. 运行程序请确保机器安装有visual c++ redistributable 2012( http://www.microsoft.com/en-us/search/DownloadResults.aspx?q=visual%20c%2B%2B%20redistributable%202012

这里要提一下的是vim.org 上的vim74 win32版貌似已经修改并支持GDI++字体渲染.

GDI++字体渲染,据说可以让windows下的字体效果变得类似Mac下一样,视觉效果比开启了ClearType的windows字体渲染也要好很多。

不过官方的vim for windows 不支持非等宽字体(比如雅黑),若强制设置guifontwide为雅黑则会报错. 还有就是官方的默认没有把我需要的lua接口编译进来,没有if_lua ,neo插件不工作,因此,if_lua我是一定需要的。

网上有一个编译比较及时的:http://tuxproject.de/projects/vim/ 不过这个也没有修改vim 在win下对非等宽字体的支持。 算了,还是自己编译吧。

版本:7.4.307 说明:用vs2010 cl 编译( msvcr version 11.0) ,因此你的电脑上至少要有vc redist 2010运行库(一般win7以上的基本都有)。

接口支持

ruby 2.1.1
Tcl8.6.1.0
Perl-5.18.1
Lua 5.2.3
Python2.7.6
Python3.3.3

以上接口全部采用动态链接,按需加载的方式。 lua52.dll等在bz2包中已经附带,如若有接口工作不正常的,请自行下载安装相关语言RT.

修改: 开启GDI++字体渲染 guifontwide增加非等宽字体支持

中文字体的话,个人推荐方正幼圆(ps:the monospaced font used below is Eco Coding)。

vim_guifontwide_youyuan
if has("win32")
          set guifont=Meslo_LG_S_for_Powerline:h11
          "set guifont=CosmicSansNeueMono:h12
          set guifontwide=YouYuan:h11,Microsoft_Yahei:h11
endif

vim :version result:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled May 27 2014 00:27:23)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-7.4.307
Compiled by Sh4d0Walker
Huge version with GUI.  Features included (+) or not (-):
+acl                +cursorbind         +gettext/dyn        +mouseshape         +ruby/dyn           +toolbar
+arabic             +cursorshape        -hangul_input       +multi_byte_ime/dyn +scrollbind         +user_commands
+autocmd            +dialog_con_gui     +iconv/dyn          +multi_lang         +signs              +vertsplit
+balloon_eval       +diff               +insert_expand      -mzscheme           +smartindent        +virtualedit
+browse             +digraphs           +jumplist           +netbeans_intg      -sniff              +visual
++builtin_terms     -dnd                +keymap             +ole                +startuptime        +visualextra
+byte_offset        -ebcdic             +langmap            +path_extra         +statusline         +viminfo
+cindent            +emacs_tags         +libcall            +perl/dyn           -sun_workshop       +vreplace
+clientserver       +eval               +linebreak          +persistent_undo    +syntax             +wildignore
+clipboard          +ex_extra           +lispindent         -postscript         +tag_binary         +wildmenu
+cmdline_compl      +extra_search       +listcmds           +printer            +tag_old_static     +windows
+cmdline_hist       +farsi              +localmap           +profile            -tag_any_white      +writebackup
+cmdline_info       +file_in_path       +lua/dyn            +python/dyn         +tcl/dyn            -xfontset
+comments           +find_in_path       +menu               +python3/dyn        -tgetent            -xim
+conceal            +float              +mksession          +quickfix           -termresponse       -xterm_save
+cryptv             +folding            +modify_fname       +reltime            +textobjects        +xpm_w32
+cscope             -footer             +mouse              +rightleft          +title              
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
  system gvimrc file: "$VIM\gvimrc"
    user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
    system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG   -DFEAT_XPM_W32   -DWINVER=0x0601 -D_WIN32_WINNT=0x0601  /Fo.\ObjGOULYHTRi386/ /Ox /GL -DNDEBUG  /Zl /MT -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DGLOBAL_IME -DFEAT_MBYTE -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua52.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python33.dll\" -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl518.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=21 -DDYNAMIC_RUBY_DLL=\"Ruby210.dll\" -DFEAT_HUGE /Fd.\ObjGOULYHTRi386/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /machine:i386 /nodefaultlib gdi32.lib version.lib   winspool.lib comctl32.lib advapi32.lib shell32.lib  /machine:i386 /nodefaultlib libcmt.lib oleaut32.lib  user32.lib   /nodefaultlib:lua52.lib   /nodefaultlib:python27.lib /nodefaultlib:python33.lib   "C:\Tcl\lib\tclstub86.lib" WSock32.lib .\xpm\x86\lib\libXpm.lib /PDB:gvim.pdb -debug

============================================ 下载: gvim-win32-7.4.307-ihacklog-build20140527.7z

http://pan.baidu.com/s/1kTgCM7H

Tagged in :

All Comments (0)
Gravatar image
No Comments