dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 29d3b0d2df2a7fdaffc2a55b2bf45823d2a62e4f (patch)
parent 34086462f61dd8856a07a1d3210e28feb7f069c0
Author: Alexander Karle <akarle@umass.edu>
Date:   Wed, 27 Dec 2017 15:10:17 -0500

Slight moves to be more adaptable without plugins

Diffstat:
Mpluginsettings.vim | 4++++
Mtheme.vim | 9---------
Mvimrc | 7+++++--
3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/pluginsettings.vim b/pluginsettings.vim @@ -14,3 +14,7 @@ " vimtex stuff " Set pdf viewer to sim let g:vimtex_view_method='skim' + +"for airline status bar -- need to include font +let g:airline_powerline_fonts = 1 +let g:airline_theme = 'onedark' diff --git a/theme.vim b/theme.vim @@ -1,15 +1,6 @@ "================================ " THEME "================================ -"for airline status bar -- need to include font -if filereadable(expand("~/.vim/bundle/vim-airline/plugin/airline.vim")) - let g:airline_powerline_fonts = 1 -endif - -if filereadable(expand("~/.vim/bundle/vim-airline-themes/plugin/airline-themes.vim")) - let g:airline_theme = 'onedark' -endif - "Syntax highlighting on syntax on diff --git a/vimrc b/vimrc @@ -36,7 +36,10 @@ set encoding=utf-8 set listchars=space:·,tab:>–,trail:~,eol:¬ " Source helper files -source ~/.vim/plugins.vim -source ~/.vim/pluginsettings.vim +" Only load plugins if vim-plug installed! +if filereadable(expand("~/.vim/autoload/plug.vim")) + source ~/.vim/plugins.vim + source ~/.vim/pluginsettings.vim +endif source ~/.vim/theme.vim source ~/.vim/keys.vim