vim配置和安装插件
参考链接: https://blog.csdn.net/sjin_1314/article/details/85041335 我的系统为Centos 7 .2 1、安装Vim: yum install vim 2、安装 Vundle 在github上下载Vundle,保存目录在~/.vim/bundle/vundle路径下,需要自己配置.vimrc及.vimrc.bundles(插件设置) git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim vim ~/.vimrc 添加如下内容: set syntax=on set nu set ts=4 set sw=4 set tags=tags; set autochdir set hlsearch set cc=80 set encoding=utf-8 set expandtab set autoindent set foldlevel=99 set foldmethod=indent if filereadable(expand("~/.vimrc.bundles")) source ~/.vimrc.bundles endif vim ~/.vimrc.bundles添加如下内容 set nocompatible " be