2016-12-21 13:18:30 +02:00
|
|
|
" support my own way of using plugins in vim / bash
|
|
|
|
autocmd BufRead *vimplugins set ft=vim
|
|
|
|
autocmd BufRead *bashplugins set ft=sh
|
|
|
|
|
|
|
|
" enable plugins
|
|
|
|
source ~/.vim/plugged/vim-plug/plug.vim
|
|
|
|
silent!call plug#begin('~/.vim/plugged')
|
|
|
|
" plugin manager for self updates
|
|
|
|
Plug 'junegunn/vim-plug'
|
|
|
|
|
|
|
|
" general plugins
|
2017-03-02 11:23:04 +02:00
|
|
|
Plug 'directionalWindowResizer'
|
2017-03-06 10:47:51 +02:00
|
|
|
Plug 'ervandew/supertab'
|
2017-03-02 11:23:04 +02:00
|
|
|
Plug 'jeetsukumaran/vim-buffergator'
|
|
|
|
Plug 'junegunn/vim-easy-align'
|
|
|
|
Plug 'mhinz/vim-signify'
|
|
|
|
Plug 'nvie/vim-togglemouse'
|
|
|
|
Plug 'tpope/vim-fugitive'
|
2017-03-02 18:24:43 +02:00
|
|
|
Plug 'tpope/vim-sleuth'
|
2017-03-02 11:23:04 +02:00
|
|
|
Plug 'vimwiki/vimwiki'
|
2016-12-21 13:18:30 +02:00
|
|
|
|
2017-02-16 18:15:30 +02:00
|
|
|
" IDE liek, per filetype
|
2017-03-02 11:23:04 +02:00
|
|
|
Plug 'neomake/neomake', { 'for': 'python' }
|
|
|
|
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
2016-12-21 13:18:30 +02:00
|
|
|
|
|
|
|
" colorschemes
|
|
|
|
Plug 'lifepillar/vim-solarized8'
|
|
|
|
|
|
|
|
" syntax highlight plugins
|
|
|
|
Plug 'neilhwatson/vim_cf3'
|
2017-02-20 13:55:48 +02:00
|
|
|
Plug 'sheerun/vim-polyglot'
|
2016-12-21 13:18:30 +02:00
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
" signify options
|
2017-02-16 18:15:30 +02:00
|
|
|
let g:signify_vcs_list=[ 'git', 'fossil' ]
|
2016-12-21 13:18:30 +02:00
|
|
|
let g:signify_sign_change='~'
|
|
|
|
|
|
|
|
" vim-togglemouse options
|
|
|
|
nmap <Leader>m <F12>
|
|
|
|
|
|
|
|
" easy-align options
|
|
|
|
xmap <Leader>a <Plug>(EasyAlign)
|
|
|
|
nmap <Leader>a <Plug>(EasyAlign)
|
|
|
|
|
|
|
|
" neomake
|
|
|
|
nmap <Leader>i :Neomake<CR>
|
2017-02-17 12:07:01 +02:00
|
|
|
let g:neomake_open_list = 7
|
2017-02-20 13:55:48 +02:00
|
|
|
let g:neomake_error_sign = { 'text': 'e>', 'texthl': 'ErrorMsg' }
|
|
|
|
let g:neomake_warning_sign = { 'text': 'w>', 'texthl': 'WarningMsg' }
|
|
|
|
let g:neomake_info_sign = { 'text': 'i>', 'texthl': 'InfoMsg' }
|