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')
|
2018-06-22 02:38:04 +03:00
|
|
|
|
2016-12-21 13:18:30 +02:00
|
|
|
" plugin manager for self updates
|
|
|
|
Plug 'junegunn/vim-plug'
|
|
|
|
|
|
|
|
" general plugins
|
2017-03-02 11:23:04 +02:00
|
|
|
Plug 'junegunn/vim-easy-align'
|
|
|
|
Plug 'mhinz/vim-signify'
|
2018-06-21 15:31:25 +03:00
|
|
|
Plug 'tpope/vim-commentary'
|
2017-03-02 11:23:04 +02:00
|
|
|
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
|
|
|
|
2018-06-22 02:38:04 +03:00
|
|
|
" syntax highlight plugins
|
|
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
|
2016-12-21 13:18:30 +02:00
|
|
|
" colorschemes
|
2018-06-21 02:16:25 +03:00
|
|
|
Plug 'jonathanfilip/vim-lucius'
|
2017-05-25 17:20:25 +03:00
|
|
|
Plug 'lifepillar/vim-solarized8'
|
2017-11-24 18:46:01 +02:00
|
|
|
Plug 'nanotech/jellybeans.vim'
|
2018-06-22 02:38:04 +03:00
|
|
|
|
|
|
|
" fun to keep
|
|
|
|
Plug 'lifepillar/vim-gruvbox8'
|
2018-06-21 02:16:25 +03:00
|
|
|
Plug 'tomasr/molokai'
|
2017-12-23 09:21:11 +02:00
|
|
|
Plug 'whatyouhide/vim-gotham'
|
2018-06-21 18:45:35 +03:00
|
|
|
Plug 'NLKNguyen/papercolor-theme'
|
|
|
|
|
2018-06-22 02:38:04 +03:00
|
|
|
" experimenting
|
|
|
|
Plug 'ajmwagar/vim-deus'
|
|
|
|
Plug 'hauleth/blame.vim'
|
|
|
|
Plug 'kaicataldo/material.vim'
|
|
|
|
Plug 'Badacadabra/vim-archery'
|
|
|
|
Plug 'chriskempson/base16-vim'
|
2017-11-21 15:43:42 +02:00
|
|
|
|
2017-12-23 09:21:11 +02:00
|
|
|
" only plug vimwiki within vimwiki dir and this file
|
|
|
|
if expand('%:p:h') =~ 'vimwiki' || expand('%') =~ 'vimplugins'
|
2017-11-21 15:43:42 +02:00
|
|
|
Plug 'vimwiki/vimwiki'
|
|
|
|
endif
|
2016-12-21 13:18:30 +02:00
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
" 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)
|
2018-06-21 02:16:25 +03:00
|
|
|
|
|
|
|
" we have themes installed, so we use them!
|
2018-06-22 02:38:04 +03:00
|
|
|
if has('gui_running') || $TERM =~ '^\(tmux\|st\)' && v:version >= 800
|
2018-06-21 15:31:25 +03:00
|
|
|
let &t_8f = "\033[38;2;%lu;%lu;%lum"
|
|
|
|
let &t_8b = "\033[48;2;%lu;%lu;%lum"
|
2018-06-21 02:16:25 +03:00
|
|
|
set termguicolors bg=dark
|
2018-06-22 02:38:04 +03:00
|
|
|
colorscheme archery
|
2018-06-21 02:16:25 +03:00
|
|
|
else
|
|
|
|
let g:solarized_use16 = 1
|
|
|
|
let g:solarized_term_italics = 0
|
2018-06-21 15:31:25 +03:00
|
|
|
set bg=light
|
2018-06-21 02:16:25 +03:00
|
|
|
colorscheme solarized8
|
|
|
|
endif
|