Organize vim plugin configurations
This commit is contained in:
parent
1c5f02eb8f
commit
e8c1452562
1 changed files with 29 additions and 30 deletions
|
@ -83,54 +83,53 @@ let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
|
||||||
Plug 'bronson/vim-trailing-whitespace'
|
Plug 'bronson/vim-trailing-whitespace'
|
||||||
Plug 'elzr/vim-json'
|
Plug 'elzr/vim-json'
|
||||||
Plug 'godlygeek/tabular' | Plug 'plasticboy/vim-markdown'
|
Plug 'godlygeek/tabular' | Plug 'plasticboy/vim-markdown'
|
||||||
|
let g:vim_markdown_conceal_code_blocks = 0
|
||||||
Plug 'junegunn/rainbow_parentheses.vim'
|
Plug 'junegunn/rainbow_parentheses.vim'
|
||||||
|
let g:rainbow#pairs = [['(',')'], ['[',']'], ['{','}']]
|
||||||
Plug 'kien/ctrlp.vim'
|
Plug 'kien/ctrlp.vim'
|
||||||
|
let g:ctrlp_match_window = 'bottom,order:ttb'
|
||||||
|
let g:ctrlp_switch_buffer = 0 " open files in new buffer
|
||||||
|
let g:ctrlp_show_hidden = 1 " show hidden files
|
||||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
if !exists('g:airline_symbols')
|
||||||
|
let g:airline_symbols = {}
|
||||||
|
endif
|
||||||
|
let g:airline_left_sep = ' '
|
||||||
|
let g:airline_left_alt_sep = ''
|
||||||
|
let g:airline_right_sep = ' '
|
||||||
|
let g:airline_right_alt_sep = ''
|
||||||
|
let g:airline_symbols.crypt = '🔒'
|
||||||
|
let g:airline_symbols.branch = '⎇'
|
||||||
|
let g:airline_symbols.paste = 'Ⓟ'
|
||||||
|
let g:airline_symbols.spell = '✔'
|
||||||
|
let g:airline_symbols.readonly = ' ⃠'
|
||||||
|
let g:airline_symbols.notexists = '∄'
|
||||||
|
let g:airline_symbols.whitespace = '✗'
|
||||||
Plug 'vim-scripts/srec.vim'
|
Plug 'vim-scripts/srec.vim'
|
||||||
|
highlight link srecStart Comment
|
||||||
|
highlight link srecType Comment
|
||||||
|
highlight link srecLength WarningMsg
|
||||||
|
highlight link srec16BitAddress Constant
|
||||||
|
highlight link srec24BitAddress Constant
|
||||||
|
highlight link srec32BitAddress Constant
|
||||||
|
highlight link srecChecksum Type
|
||||||
Plug 'keith/swift.vim'
|
Plug 'keith/swift.vim'
|
||||||
Plug 'chr4/nginx.vim'
|
Plug 'chr4/nginx.vim'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
let g:ctrlp_match_window = 'bottom,order:ttb'
|
" This has to be here (as opposed to right after the Plug call) because the
|
||||||
let g:ctrlp_switch_buffer = 0 " open files in new buffer
|
" function airline#section#create doesn't exist before plug#end() is
|
||||||
let g:ctrlp_show_hidden = 1 " show hidden files
|
" called.
|
||||||
|
|
||||||
let g:rainbow#pairs = [['(',')'], ['[',']'], ['{','}']]
|
|
||||||
|
|
||||||
if has('multi_byte') && &encoding ==# 'utf-8'
|
if has('multi_byte') && &encoding ==# 'utf-8'
|
||||||
let g:airline_section_z = airline#section#create(['ℓ%4l/%L 𝚌%3v'])
|
let g:airline_section_z = airline#section#create(['ℓ%4l/%L 𝚌%3v'])
|
||||||
else " line / total : col
|
else " line / total : col
|
||||||
let g:airline_section_z = airline#section#create(['L%4l/%L c%3v'])
|
let g:airline_section_z = airline#section#create(['L%4l/%L c%3v'])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:airline_symbols')
|
|
||||||
let g:airline_symbols = {}
|
|
||||||
endif
|
|
||||||
|
|
||||||
let g:airline_left_sep = ' '
|
|
||||||
let g:airline_left_alt_sep = ''
|
|
||||||
let g:airline_right_sep = ' '
|
|
||||||
let g:airline_right_alt_sep = ''
|
|
||||||
let g:airline_symbols.crypt = '🔒'
|
|
||||||
let g:airline_symbols.branch = '⎇'
|
|
||||||
let g:airline_symbols.paste = 'Ⓟ'
|
|
||||||
let g:airline_symbols.spell = '✔'
|
|
||||||
let g:airline_symbols.readonly = ' ⃠'
|
|
||||||
let g:airline_symbols.notexists = '∄'
|
|
||||||
let g:airline_symbols.whitespace = '✗'
|
|
||||||
|
|
||||||
highlight link srecStart Comment
|
|
||||||
highlight link srecType Comment
|
|
||||||
highlight link srecLength WarningMsg
|
|
||||||
highlight link srec16BitAddress Constant
|
|
||||||
highlight link srec24BitAddress Constant
|
|
||||||
highlight link srec32BitAddress Constant
|
|
||||||
highlight link srecChecksum Type
|
|
||||||
|
|
||||||
colorscheme solarized
|
colorscheme solarized
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
syntax enable
|
syntax enable
|
||||||
|
|
Loading…
Add table
Reference in a new issue