windows下gvim vundle的使用
官方帮助
Vundle for Windows · VundleVim/Vundle.vim Wiki (github.com)
参考帮助
Windows下 vundle的安装和使用 - QIYUEXIN - 博客园 (cnblogs.com)
Requirements
Git on Windows
You can install Git and curl yourself or you can use the Chocolatey instructions below.
- Download the Git for Windows installer
- Run the downloaded installer and follow the instructions It's important to configure
PATH
environment variable properly. That's why it's recommended to select Run git from Windows command prompt option, as shown:
After installation try running git --version
within command prompt (press Win-R, type cmd
, press Enter) to make sure all good:
C:\> git --version git version 2.12.2.windows.2
Curl on Windows
Curl is no longer installed with the Git for Windows installer. However, Windows 10 now ships with Curl
For older versions of windows, you can download it from the cURL downloads page.
Before it can be used with Vundle it's required make curl
run in command prompt.
Extract the download and then make sure that you add the installed location to the PATH
. A typical installation would be to extract the downloaded file and move the directory to C:\Program Files\curl
. Then you can add C:\Program Files\curl\bin
to the PATH
C:\> curl --version curl 7.53.1 (x86_64-pc-win32) libcurl/7.53.1 OpenSSL/1.1.0e zlib/1.2.11 WinIDN libssh2/1.8.0 nghttp2/1.21.0 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP HTTP2 HTTPS-proxy
Vundle on Windows
Modern Windows Gvim Install
The official version of Gvim on windows by default looks for _vimrc
instead of .vimrc
and ~/vimfiles
instead of ~/.vim
. It also understands ~
as the home directory. You only need to tell it to convert to unix-style path separators (shellslash
). Therefore, once you have git for windows, you simply run git clone https://github.com/VundleVim/Vundle.vim.git ~/vimfiles/bundle/Vundle.vim
, and add the following to the beginning of your ~/_vimrc
(_vimrc
in your Windows Home directory, also ~/_vimrc
from the git bash prompt):
filetype off set shellslash set rtp+=~/vimfiles/bundle/Vundle.vim call vundle#begin('~/vimfiles/bundle') " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " To ignore plugin indent changes, instead use: "filetype plugin on " " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现