From f90e026e492154e63d25c28ae2c4c0fbaa053e55 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 27 Apr 2019 18:19:10 -0400 Subject: [PATCH] Added missing functionality that was implemented in prior vimrc file. Primary help for CTRL-P VIM-AIRPLANE, and RAINBOW_PARENTHESE --- vim/vimrc.d/plugins.vim | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/vim/vimrc.d/plugins.vim b/vim/vimrc.d/plugins.vim index a05ffb2..ec21cd9 100644 --- a/vim/vimrc.d/plugins.vim +++ b/vim/vimrc.d/plugins.vim @@ -69,4 +69,57 @@ for fpath in split(globpath('~/.vim/plug.d/', '*.vim'), '\n') exe 'source' fpath endfor +" CTRL-P + let g:ctrlp_cmd = 'CtrlPMixed' + let g:ctrlp_working_path_mode = 'ra' + if executable('ag') + let g:ctrlp_user_command = 'ag -Q -l --nocolor --hidden -g "" %s' + endif + +" VIM-AIRPLAINE + let g:airline_powerline_fonts = 1 + if !exists('g:airline_symbols') + let g:airline_symbols = {} + endif + let g:airline_left_sep = '⮀' + let g:airline_right_sep = '⮂' + let g:airline_right_alt_sep = '⮃' + let g:airline_left_alt_sep = '⮁' + let g:airline_symbols.branch = '⭠' + let g:airline_symbols.linenr= '⭡' + let g:airline_symbols.readonly= '⭤' + let g:airline#extensions#tabline#enabled = 1 + let g:airline#extensions#tabline#left_sep = ' ' + let g:airline#extensions#tabline#left_alt_sep = '|' + let g:airline_theme = 'powerlineish' + set laststatus=2 + set ttimeoutlen=50 + +" RAINBOW_PARENTHESE + let g:rbpt_colorpairs = [ + \ ['brown', 'RoyalBlue3'], + \ ['Darkblue', 'SeaGreen3'], + \ ['darkgray', 'DarkOrchid3'], + \ ['darkgreen', 'firebrick3'], + \ ['darkcyan', 'RoyalBlue3'], + \ ['darkred', 'SeaGreen3'], + \ ['darkmagenta', 'DarkOrchid3'], + \ ['brown', 'firebrick3'], + \ ['gray', 'RoyalBlue3'], + \ ['black', 'SeaGreen3'], + \ ['darkmagenta', 'DarkOrchid3'], + \ ['Darkblue', 'firebrick3'], + \ ['darkgreen', 'RoyalBlue3'], + \ ['darkcyan', 'SeaGreen3'], + \ ['darkred', 'DarkOrchid3'], + \ ['red', 'firebrick3'], + \ ] + let g:rbpt_max = 16 + au VimEnter * RainbowParenthesesToggle + au Syntax * RainbowParenthesesLoadRound + au Syntax * RainbowParenthesesLoadSquare + au Syntax * RainbowParenthesesLoadBraces + + + call plug#end()