/ .vimrc
.vimrc
1 """"""""""""""""""""""""""""""native setting"""""""""""""""""""""""""""""""""" 2 set nocompatible " not comptible to vi 3 syntax on " syntax highlight 4 set nu " line number 5 set cc=80 6 7 " tab setting 8 set tabstop=4 9 set shiftwidth=4 10 set expandtab 11 set softtabstop=4 12 13 set hlsearch " highlight the search match 14 15 """"""""""""""""""""""""""""""plugin setting"""""""""""""""""""""""""""""""""" 16 " vim-plug 17 call plug#begin() 18 Plug 'w0rp/ale', {'do': 'curl https://raw.githubusercontent.com/Shylock-Hg/config.linux/master/viman/recipe-ale.sh \| sh'} 19 Plug 'scrooloose/nerdtree' 20 Plug 'xuyuanp/nerdtree-git-plugin' 21 Plug 'majutsushi/tagbar', {'do': 'sudo pacman --noconfirm --needed -Sy ctags'} 22 Plug 'vim-airline/vim-airline', {'do': 'sudo pacman --needed --noconfirm -Sy powerline-fonts'} 23 Plug 'vim-airline/vim-airline-themes' 24 Plug 'altercation/vim-colors-solarized' 25 Plug 'wakatime/vim-wakatime', {'do': 'curl https://raw.githubusercontent.com/Shylock-Hg/config.linux/master/viman/recipe-vim-wakatime.sh \| sh'} 26 Plug 'neoclide/coc.nvim', {'branch': 'release'} 27 call plug#end() 28 29 " Load all of the helptags now, after plugins have been loaded. 30 " All messages and errors will be ignored. 31 silent! helptags ALL 32 " Enable completion where available. 33 let g:ale_completion_enabled = 1 34 35 "NERDTree 36 let NERDTreeWinSize=20 37 let NERDTreeShowHidden=1 38 39 "Tarbar 40 let g:tagbar_width=20 41 42 "airline 43 let g:airline_solarized_bg='light' 44 let g:airline_powerline_fonts = 1 45 46 "solarized 47 set background=light 48 colorscheme solarized 49