aboutsummaryrefslogtreecommitdiff
path: root/vim/Makefile
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-21 01:01:29 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-21 01:01:29 -0500
commit5d40569e5c1ca453df1bf7b0547f3f69e3e684d7 (patch)
tree0658eeaef820299519a2dcd0666278727fc83676 /vim/Makefile
parent261aaa8cf687be76e67fe5423f59450365769889 (diff)
downloadvim-cfg-5d40569e5c1ca453df1bf7b0547f3f69e3e684d7.tar.gz
vim-cfg-5d40569e5c1ca453df1bf7b0547f3f69e3e684d7.tar.xz
Add a makefile to rework init.vim. Commit update init.vm TODO: remove in the future and run make in setup
Diffstat (limited to 'vim/Makefile')
-rw-r--r--vim/Makefile54
1 files changed, 54 insertions, 0 deletions
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"