Vim常用插件安装及配置方法

Vundle

安装

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

配置

  • vimrc首部添加
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'

call vundle#end()
filetype plugin indent on
  • 安装脚本在vim中运行:PluginInstall
  • 在命令行直接安装而不打开vim运行vim +PluginInstall +qall
posted @ 2018-03-09 08:41  zhuxiaoxi  阅读(7930)  评论(0编辑  收藏  举报