最新编译打包gVim7.4.100

2026-04-13 修正错误 吐槽 Vim官网实在太保守,提供的下载链接才是7.4最开始的版本,自从 Vim7.4发布以来,到今天已经有了上百个补丁包(到目前为止,最新的补丁是patch-131)。而且Vim7.4对很多脚本的支持做得更好了,比如对Python,Lua,TCL等的支持。但是Vim官网的链接不仅陈旧,而且没有打开对LUA、TCL、Perl等脚本的支持。 我的最新编译打包 鉴于Vim官网的不给力,我自己编译打包了最新的gVim(7.4.100),同时打开了LUA、Perl、TCL和Python脚本支持,并且正在自己的32位和64位机器上很顺畅地使用。 如果你准备用neocomplete插件,那么你来对了,这个编译包就是为了这个目的准备的。 所以今天拿出来与大家分享。 下载链接 下载地址:百度云 使用方法 下载安装gVim7.4.100.exe 为了可以在Vim中交互使用LUA、Python等脚本,需要把我的压缩包内的相应的运行时库复制到你的安装目录下 对于x64位系统需要注意: 为了能在鼠标右键菜单中使用Edit with Vim等命令,必须把我的x64目录下的gvimExt.dll复制到安装目录下 享受

2013年12月28日 · 1 分钟 · Jid

Linux 从源码编译安装 Vim

为什么自己编译 系统包管理器安装的 Vim 通常没有开启 Python、Lua 等脚本支持,导致一些插件(如 YouCompleteMe、Neocomplete)无法使用。 编译步骤 1. 安装依赖 # Debian/Ubuntu sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \ libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev \ libx11-dev libxpm-dev libxt-dev python-dev ruby-dev lua5.2 \ liblua5.2-dev libperl-dev git 2. 配置 ./configure --with-features=huge \ --enable-rubyinterp \ --enable-luainterp=dynamic \ --enable-pythoninterp \ --with-python-config-dir=/usr/lib/python2.7/config \ --enable-perlinterp \ --enable-cscope \ --enable-tclinterp \ --enable-multibyte \ --enable-clipboard \ --prefix=/usr 各选项说明: 选项 作用 --with-features=huge 开启几乎所有功能 --enable-rubyinterp Ruby 脚本支持 --enable-luainterp=dynamic Lua 动态加载 --enable-pythoninterp Python 2 支持(YCM 需要) --enable-perlinterp Perl 脚本支持 --enable-cscope Cscope 代码浏览 --enable-multibyte 多字节字符(中文支持) ⚠️ 不要同时开启 Python 2 和 Python 3,会导致 YouCompleteMe 无法正常工作。 ...

2013年11月2日 · 1 分钟 · Jid

Git 记住密码:避免每次 pull/push 都输入凭据

问题 每次 git pull 或 git push 都要输入用户名和密码,非常繁琐。 解决方法 Linux / macOS(凭据缓存) # 缓存密码 1 小时(3600 秒) git config --global credential.helper 'cache --timeout=3600' # 或缓存 8 小时 git config --global credential.helper 'cache --timeout=28800' 要求 Git 版本 ≥ 1.7.10。 Windows(凭据管理器) 安装 Git Credential Manager for Windows,安装后 Git 会自动使用 Windows 凭据管理器存储密码。 新版 Git for Windows 已内置此功能,无需额外安装。 永久存储(所有平台) # 明文存储在 ~/.git-credentials(不推荐在共享电脑上使用) git config --global credential.helper store 安全提示 cache 模式:密码仅存在内存中,超时后自动清除,相对安全 store 模式:密码以明文保存在磁盘上,方便但不安全 推荐使用 SSH key 或个人访问令牌(PAT)替代密码认证

2013年10月15日 · 1 分钟 · Jid