added plugins to vimrc
Vundle nerdtree lightline vim-gitgutter vim-colors-solarized
This commit is contained in:
parent
2f55101eb1
commit
c429ae9584
45
.vimrc
45
.vimrc
|
|
@ -1,3 +1,36 @@
|
||||||
|
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()
|
||||||
|
" alternatively, pass a path where Vundle should install plugins
|
||||||
|
"call vundle#begin('~/some/path/here')
|
||||||
|
|
||||||
|
" let Vundle manage Vundle, required
|
||||||
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
|
||||||
|
Plugin 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
Plugin 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
|
Plugin 'altercation/vim-colors-solarized'
|
||||||
|
" 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
|
||||||
set number
|
set number
|
||||||
set linebreak
|
set linebreak
|
||||||
set showbreak=+++
|
set showbreak=+++
|
||||||
|
|
@ -17,8 +50,18 @@ set ruler
|
||||||
set undolevels=1000
|
set undolevels=1000
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set colorcolumn=80
|
set colorcolumn=80
|
||||||
|
" lastline plugin config
|
||||||
|
set laststatus=2
|
||||||
|
"let g:lightline = {'colorshceme': 'solarized dark'}
|
||||||
|
" gitgutter
|
||||||
|
let g:gitgutter_realtime = 1
|
||||||
|
let g:gitgutter_eager = 1
|
||||||
|
" colorscheme
|
||||||
|
syntax enable
|
||||||
|
"set background=dark
|
||||||
|
"colorscheme solarized
|
||||||
|
|
||||||
highlight colorcolumn ctermbg=grey ctermfg=blue
|
highlight colorcolumn ctermbg=grey ctermfg=blue
|
||||||
highlight OverLength ctermbg=red ctermfg=white
|
highlight OverLength ctermbg=red ctermfg=white
|
||||||
match OverLength /\%>80v.\+/
|
match OverLength /\%>80v.\+/
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
syntax on
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue