1
0

make plugin configurations more modular

This commit is contained in:
valeth 2015-11-16 16:14:51 +01:00
parent a3a661fb99
commit 90f8dd4901
20 changed files with 40 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1 @@
"Plug 'jiangmiao/auto-pairs'

1
plugins/csapprox.vim Normal file
View File

@ -0,0 +1 @@
"Plug 'godlygeek/csapprox'

View File

@ -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
View File

@ -0,0 +1 @@
Plug 'vim-scripts/gnupg'

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,5 @@
Plug 'tomasr/molokai'
set background=dark
"let g:molokai_original = 1

View File

@ -0,0 +1 @@
Plug 'scrooloose/nerdcommenter'

View File

@ -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>

View File

@ -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" ]

View File

@ -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

View File

@ -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

View File

@ -1,2 +1,4 @@
Plug 'majutsushi/tagbar'
nnoremap <silent> <leader>tag :TagbarToggle<CR>
vnoremap <silent> <leader>tag <ESC>:TagbarToggle<CR>

View File

@ -0,0 +1 @@
"Plug 'tpope/vim-commentary'

View File

@ -0,0 +1 @@
Plug 'editorconfig/editorconfig-vim'

View File

@ -0,0 +1 @@
"Plug 'Twinside/vim-haskellConceal', { 'for': 'haskell' }

1
plugins/vim-hoogle.vim Normal file
View File

@ -0,0 +1 @@
"Plug 'Twinside/vim-hoogle', { 'for': 'haskell' }

1
plugins/vim-polyglot.vim Normal file
View File

@ -0,0 +1 @@
Plug 'hoelzro/vim-polyglot'

View File

@ -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