make plugin configurations more modular
This commit is contained in:
parent
a3a661fb99
commit
90f8dd4901
@ -1,3 +1,5 @@
|
||||
Plug 'bling/vim-airline'
|
||||
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
||||
|
1
plugins/auto-pairs.vim
Normal file
1
plugins/auto-pairs.vim
Normal file
@ -0,0 +1 @@
|
||||
"Plug 'jiangmiao/auto-pairs'
|
1
plugins/csapprox.vim
Normal file
1
plugins/csapprox.vim
Normal file
@ -0,0 +1 @@
|
||||
"Plug 'godlygeek/csapprox'
|
@ -1,3 +1,5 @@
|
||||
Plug 'kien/ctrlp.vim'
|
||||
|
||||
let g:ctrlp_cmd = "CtrlPBuffer"
|
||||
let g:ctrlp_prompt_mappings = {
|
||||
\ 'ToggleType(1)': ['<c-l>', '<c-f>', '<c-up>'],
|
||||
|
1
plugins/gnupg.vim
Normal file
1
plugins/gnupg.vim
Normal file
@ -0,0 +1 @@
|
||||
Plug 'vim-scripts/gnupg'
|
@ -1,3 +1,7 @@
|
||||
if v:version >= 703
|
||||
Plug 'vim-scripts/Gundo', { 'on': 'GundoToggle' }
|
||||
endif
|
||||
|
||||
let g:gundo_width = 60
|
||||
let g:gundo_preview_height = 30
|
||||
let g:gundo_right = 1
|
||||
|
@ -1,3 +1,5 @@
|
||||
let g:haddock_browser="/usr/bin/chromium"
|
||||
"Plug 'lukerandall/haskellmode-vim', { 'for': 'haskell' }
|
||||
|
||||
let g:haddock_browser="/usr/bin/firefox"
|
||||
|
||||
"au BufEnter *.hs compiler ghc
|
||||
|
@ -1,3 +1,5 @@
|
||||
Plug 'tomasr/molokai'
|
||||
|
||||
set background=dark
|
||||
|
||||
"let g:molokai_original = 1
|
||||
|
1
plugins/nerdcommenter.vim
Normal file
1
plugins/nerdcommenter.vim
Normal file
@ -0,0 +1 @@
|
||||
Plug 'scrooloose/nerdcommenter'
|
@ -1,4 +1,6 @@
|
||||
au bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'scrooloose/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' }
|
||||
|
||||
au bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||
noremap <silent> <leader>nt :NERDTreeToggle<CR>
|
||||
vnoremap <silent> <leader>nt <ESC>:NERDTreeToggle<CR>
|
||||
|
@ -1,3 +1,8 @@
|
||||
if v:version >= 704
|
||||
Plug 'vim-pandoc/vim-pandoc'
|
||||
Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||
endif
|
||||
|
||||
" the filetypes for which vim-pandoc should be used
|
||||
let g:pandoc#filetypes#handles = [ "markdown", "pandoc" ]
|
||||
|
||||
|
@ -12,6 +12,8 @@
|
||||
" seoul256 233 - 239 237
|
||||
" seoul256-light 252 - 256 253
|
||||
|
||||
Plug 'junegunn/seoul256.vim'
|
||||
|
||||
let g:seoul256_background = 237
|
||||
let g:seoul256_light_background = 254
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
Plug 'scrooloose/syntastic', {'for': ['c', 'cpp', 'python', 'sh']}
|
||||
|
||||
let g:syntastic_enable_signs = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_enable_highlighting = 1
|
||||
|
@ -1,2 +1,4 @@
|
||||
Plug 'majutsushi/tagbar'
|
||||
|
||||
nnoremap <silent> <leader>tag :TagbarToggle<CR>
|
||||
vnoremap <silent> <leader>tag <ESC>:TagbarToggle<CR>
|
||||
|
1
plugins/vim-commentary.vim
Normal file
1
plugins/vim-commentary.vim
Normal file
@ -0,0 +1 @@
|
||||
"Plug 'tpope/vim-commentary'
|
1
plugins/vim-editorconfig.vim
Normal file
1
plugins/vim-editorconfig.vim
Normal file
@ -0,0 +1 @@
|
||||
Plug 'editorconfig/editorconfig-vim'
|
1
plugins/vim-haskellConceal.vim
Normal file
1
plugins/vim-haskellConceal.vim
Normal file
@ -0,0 +1 @@
|
||||
"Plug 'Twinside/vim-haskellConceal', { 'for': 'haskell' }
|
1
plugins/vim-hoogle.vim
Normal file
1
plugins/vim-hoogle.vim
Normal file
@ -0,0 +1 @@
|
||||
"Plug 'Twinside/vim-hoogle', { 'for': 'haskell' }
|
1
plugins/vim-polyglot.vim
Normal file
1
plugins/vim-polyglot.vim
Normal file
@ -0,0 +1 @@
|
||||
Plug 'hoelzro/vim-polyglot'
|
@ -1,3 +1,7 @@
|
||||
if v:version >= 704
|
||||
Plug 'Valloric/YouCompleteMe', {'do': 'python2 install.py --clang-completer' }
|
||||
endif
|
||||
|
||||
let g:ycm_global_ycm_extra_conf = g:vim_config_home . "/plugins/youcompleteme/ycm_extra_conf.py"
|
||||
|
||||
let g:ycm_autoclose_preview_window_after_completion = 1
|
||||
|
Loading…
Reference in New Issue
Block a user