66 lines
1.6 KiB
Text
66 lines
1.6 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 'junegunn/vim-easy-align'
|
|
Plug 'mhinz/vim-signify'
|
|
Plug 'tpope/vim-commentary'
|
|
Plug 'tpope/vim-fugitive'
|
|
Plug 'tpope/vim-rsi'
|
|
Plug 'vdrandom/vim-tru-typewriter'
|
|
Plug 'vim-scripts/directionalWindowResizer'
|
|
|
|
" syntax highlight plugins
|
|
Plug 'sheerun/vim-polyglot'
|
|
|
|
" colorschemes
|
|
Plug 'jonathanfilip/vim-lucius'
|
|
Plug 'lifepillar/vim-solarized8'
|
|
Plug 'nanotech/jellybeans.vim'
|
|
|
|
" fun to keep
|
|
Plug 'lifepillar/vim-gruvbox8'
|
|
Plug 'tomasr/molokai'
|
|
Plug 'whatyouhide/vim-gotham'
|
|
Plug 'NLKNguyen/papercolor-theme'
|
|
|
|
" experimenting
|
|
Plug 'ajmwagar/vim-deus'
|
|
Plug 'hauleth/blame.vim'
|
|
Plug 'kaicataldo/material.vim'
|
|
Plug 'Badacadabra/vim-archery'
|
|
Plug 'chriskempson/base16-vim'
|
|
|
|
" only plug vimwiki within vimwiki dir and this file
|
|
if expand('%:p:h') =~ 'vimwiki' || expand('%') =~ 'vimplugins'
|
|
Plug 'vimwiki/vimwiki'
|
|
endif
|
|
call plug#end()
|
|
|
|
" 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)
|
|
|
|
" we have themes installed, so we use them!
|
|
if has('gui_running') || $TERM =~ '^\(tmux\|st\)' && v:version >= 800
|
|
let &t_8f = "\033[38;2;%lu;%lu;%lum"
|
|
let &t_8b = "\033[48;2;%lu;%lu;%lum"
|
|
set termguicolors bg=dark
|
|
colorscheme archery
|
|
else
|
|
let g:solarized_use16 = 1
|
|
let g:solarized_term_italics = 0
|
|
set bg=light
|
|
colorscheme solarized8
|
|
endif
|