vim 配置缩进线

安装git

在liunx终端sudo apt install git

使用git安装bunlde插件

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

对vimrc文件进行配置 call vundle#begin() call vundle#end()


之间可以添加自己的插件;将

Plugin 'nathanaelkane/vim-indent-guides'

插入即可

https://github.com/nathanaelkane/vim-indent-guides 有详细说明

filetype off
syntax on
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" 加载插件
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'michaelHL/awesome-vim-colorschemes'
Plugin 'Tagbar'
Plugin 'Tabular'
call vundle#end()
filetype plugin indent on     " require

猜你喜欢

转载自www.cnblogs.com/yuvejxke/p/13170116.html