57 lines
1.5 KiB
Text
57 lines
1.5 KiB
Text
" support my own way of using plugins in vim / bash
|
|
autocmd BufRead *vimplugins set ft=vim
|
|
autocmd BufRead *bashplugins set ft=sh
|
|
autocmd BufRead *aliases 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
|
|
Plug 'ervandew/supertab'
|
|
Plug 'itchyny/lightline.vim'
|
|
Plug 'jeetsukumaran/vim-buffergator'
|
|
Plug 'junegunn/vim-easy-align'
|
|
Plug 'mhinz/vim-signify'
|
|
Plug 'tpope/vim-fugitive'
|
|
Plug 'tpope/vim-rsi'
|
|
Plug 'tpope/vim-vinegar'
|
|
Plug 'vimwiki/vimwiki'
|
|
Plug 'vim-scripts/directionalWindowResizer'
|
|
|
|
" IDE liek, per filetype
|
|
Plug 'w0rp/ale', { 'for': 'python' }
|
|
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
|
|
|
" colorschemes
|
|
Plug 'lifepillar/vim-solarized8'
|
|
|
|
" syntax highlight plugins
|
|
Plug 'sheerun/vim-polyglot'
|
|
call plug#end()
|
|
|
|
" lightline options
|
|
set noshowmode
|
|
let g:solarized_termcolors = 16
|
|
let g:lightline = {
|
|
\ 'colorscheme': 'solarized',
|
|
\ 'separator': { 'left': "\ue0b0", 'right': "\ue0b2" },
|
|
\ '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)
|
|
|
|
" neomake
|
|
nmap <Leader>i :Neomake<CR>
|
|
let g:neomake_open_list = 7
|
|
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' }
|