From 5d40569e5c1ca453df1bf7b0547f3f69e3e684d7 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 21 Feb 2018 01:01:29 -0500 Subject: Add a makefile to rework init.vim. Commit update init.vm TODO: remove in the future and run make in setup --- vim/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 vim/Makefile (limited to 'vim/Makefile') diff --git a/vim/Makefile b/vim/Makefile new file mode 100644 index 0000000..b0ad1fd --- /dev/null +++ b/vim/Makefile @@ -0,0 +1,54 @@ + +all: default install clean + +install: + cp stage ../init.vim + +clean: + rm stage + +main: + cat \ + base.vim \ + plugins.vim \ + filetypes.vim \ + listchars.vim \ + mouse.vim \ + syntax.vim \ + >> stage + +default:main + echo "colorscheme distinguished" \ + >> stage + +solarized: + echo "colorscheme solarized" >> stage + +solarized_dark: solarized + echo "set backgroud=dark" >> stage + +solarized_256: solarized + echo "let g:solarized_termcolors=256" >> stage + +solarized_dark_256: solarized solarized_dark solarized_256 + +base: + # Disable Plugins for base + sed -i -e'/pathogen#infect/d' stage + cat \ + warning.vim \ + base.vim \ + > stage + + +help: + @echo "Current build options are:" + @echo " default: builds full configuratoin ( default )" + @echo " main: builds full configuratoin without colors" + @echo " solarized: adds solarized light ( requires terminal theme )" + @echo " solarized_dark: adds solarized dark ( requires terminal theme )" + @echo " solarized_256: adds solarized ( 256color )" + @echo " solarized_dark_256: adds solarized dark ( 256color )" + @echo " base: builds a basic configuration" + @echo " clean: cleans the stage file" + @echo " install: installs the staged config" -- cgit v1.2.3