2016-12-21 13:18:30 +02:00
|
|
|
" support my own way of using plugins in vim / bash
|
|
|
|
autocmd BufRead *vimplugins set ft=vim
|
|
|
|
|
|
|
|
" 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-08-11 15:12:23 +03:00
|
|
|
Plug 'itchyny/lightline.vim'
|
2017-03-02 11:23:04 +02:00
|
|
|
Plug 'junegunn/vim-easy-align'
|
|
|
|
Plug 'mhinz/vim-signify'
|
|
|
|
Plug 'tpope/vim-fugitive'
|
2017-03-16 18:15:54 +02:00
|
|
|
Plug 'tpope/vim-rsi'
|
2017-11-08 16:47:04 +02:00
|
|
|
Plug 'vdrandom/vim-tru-typewriter'
|
2017-05-05 11:41:22 +03:00
|
|
|
Plug 'vim-scripts/directionalWindowResizer'
|
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 'davidhalter/jedi-vim', { 'for': 'python' }
|
2017-11-21 15:43:42 +02:00
|
|
|
Plug 'w0rp/ale', { 'for': 'python' }
|
2016-12-21 13:18:30 +02:00
|
|
|
|
|
|
|
" colorschemes
|
2017-05-25 17:20:25 +03:00
|
|
|
Plug 'lifepillar/vim-solarized8'
|
2017-11-24 18:46:01 +02:00
|
|
|
Plug 'nanotech/jellybeans.vim'
|
2017-12-01 01:47:14 +02:00
|
|
|
Plug 'rakr/vim-one'
|
2016-12-21 13:18:30 +02:00
|
|
|
|
|
|
|
" syntax highlight plugins
|
2017-02-20 13:55:48 +02:00
|
|
|
Plug 'sheerun/vim-polyglot'
|
2017-11-21 15:43:42 +02:00
|
|
|
|
|
|
|
" only plug vimwiki within vimwiki dir
|
|
|
|
if expand('%:p:h') =~ 'vimwiki'
|
|
|
|
Plug 'vimwiki/vimwiki'
|
|
|
|
endif
|
2016-12-21 13:18:30 +02:00
|
|
|
call plug#end()
|
|
|
|
|
2017-08-11 15:12:23 +03:00
|
|
|
" lightline options
|
|
|
|
set noshowmode
|
|
|
|
let g:solarized_termcolors = 16
|
2017-11-24 18:46:01 +02:00
|
|
|
let g:lightline = {}
|
|
|
|
let g:lightline.colorscheme = 'solarized'
|
|
|
|
let g:lightline.separator = { 'left': "\ue0b0", 'right': "\ue0b2" }
|
|
|
|
let g:lightline.subseparator = { 'left': "\ue0b1", 'right': "\ue0b3" }
|
2017-08-11 15:12:23 +03:00
|
|
|
|
2016-12-21 13:18:30 +02:00
|
|
|
" signify options
|
2017-12-01 01:47:14 +02:00
|
|
|
let g:signify_vcs_list = [ 'git' ]
|
|
|
|
let g:signify_sign_change = '~'
|
2016-12-21 13:18:30 +02:00
|
|
|
|
|
|
|
" easy-align options
|
|
|
|
xmap <Leader>a <Plug>(EasyAlign)
|
|
|
|
nmap <Leader>a <Plug>(EasyAlign)
|