新网创想网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

vim插件管理器之Vundle的使用-创新互联

1.git clone Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
2.配置~/.vimrc文件

我自己习惯的配置

创新互联提供高防服务器、云服务器、香港服务器、多线服务器托管
set nocompatible              " be iMproved, required
filetype off                  " required
 
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'

Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'git://github.com/ycm-core/YouCompleteMe.git'
call vundle#end()            " required
filetype plugin indent on    " required
 
set nu
set ts=4
set shiftwidth=4
set softtabstop=4
set expandtab
set autoindent
set shell=/bin/bash
3.安装插件

打开vim执行 PlugInstall 命令 自动安装完成

该配置目前是我配置用来补全C++代码的,其他的请谨慎参考,具体教程请参考网络上其他文章详解。

你是否还在寻找稳定的海外服务器提供商?创新互联www.cdcxhl.cn海外机房具备T级流量清洗系统配攻击溯源,准确流量调度确保服务器高可用性,企业级服务器适合批量采购,新人活动首月15元起,快前往官网查看详情吧


当前标题:vim插件管理器之Vundle的使用-创新互联
转载来源:http://www.wjwzjz.com/article/dpesde.html
在线咨询
服务热线
服务热线:028-86922220
TOP