1
0
Fork 0
vdotfiles/vimplugins

51 lines
1.3 KiB
Text

" 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
Plug 'itchyny/lightline.vim'
Plug 'junegunn/vim-easy-align'
Plug 'mhinz/vim-signify'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rsi'
Plug 'vdrandom/vim-tru-typewriter'
Plug 'vim-scripts/directionalWindowResizer'
" IDE liek, per filetype
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
Plug 'w0rp/ale', { 'for': 'python' }
" colorschemes
Plug 'lifepillar/vim-solarized8'
Plug 'KeitaNakamura/neodark.vim'
Plug 'nanotech/jellybeans.vim'
" syntax highlight plugins
Plug 'sheerun/vim-polyglot'
" only plug vimwiki within vimwiki dir
if expand('%:p:h') =~ 'vimwiki'
Plug 'vimwiki/vimwiki'
endif
call plug#end()
" lightline options
set noshowmode
let g:solarized_termcolors = 16
let g:lightline = {}
let g:lightline.colorscheme = 'solarized'
let g:lightline.separator = { 'left': "\ue0b0", 'right': "\ue0b2" }
let g:lightline.subseparator = { 'left': "\ue0b1", 'right': "\ue0b3" }
" signify options
let g:signify_vcs_list=[ 'git' ]
let g:signify_sign_change='~'
" easy-align options
xmap <Leader>a <Plug>(EasyAlign)
nmap <Leader>a <Plug>(EasyAlign)