" support my own way of using plugins in vim / bash autocmd BufRead *vimplugrc set ft=vim " enable plugins execute 'source' fnameescape(plug) silent!call plug#begin(plugdir) " plugin manager for self updates Plug 'junegunn/vim-plug' " general plugins "Plug 'sheerun/vim-polyglot' Plug 'junegunn/fzf.vim' Plug 'junegunn/vim-easy-align' Plug 'lifepillar/vim-solarized8' Plug 'lifepillar/vim-gruvbox8' Plug 'mhinz/vim-signify' Plug 'tpope/vim-commentary' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-rsi' Plug 'tpope/vim-vinegar' Plug 'w0rp/ale', {'for': ['sh']} Plug 'vimwiki/vimwiki', {'on': 'VimwikiIndex'} call plug#end() " easy-align xmap a (EasyAlign) nmap a (EasyAlign) " fzf nmap ff :Files nmap fg :GFiles nmap fb :Buffers nmap fl :Lines nmap ft :Filetypes let g:vimwiki_list = [{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}] if has('gui_running') set guifont=Fantasque\ Sans\ Mono\ 14 set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor set bg=dark guiheadroom=0 guioptions=aei mouse=a map map! colorscheme gruvbox8 elseif $TERM =~ '^tmux' || $TERM =~ '^xterm' || $TERM =~ '^st' set bg=dark tgc let g:gruvbox_filetype_hi_groups = 1 let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" colorscheme gruvbox8 elseif $TERM !~ '^linux' set bg=light let g:solarized_extra_hi_groups = 1 let g:solarized_use16 = 1 colorscheme solarized8 endif