From 8044ca3e302fcd02f8b515cbce5f0c64dc83285c Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 21 Feb 2018 14:59:12 -0500 Subject: Make disabling plugins separate in the makefile --- vim/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'vim') diff --git a/vim/Makefile b/vim/Makefile index b0ad1fd..5d60657 100644 --- a/vim/Makefile +++ b/vim/Makefile @@ -5,7 +5,8 @@ install: cp stage ../init.vim clean: - rm stage + # remove *.bak files for the in-place editing + rm stage *.bak main: cat \ @@ -34,12 +35,15 @@ 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 +disable_plugins: + # Using -i.bak for compatibility with BSD sed + sed -i.bak -e'/pathogen#infect/d' stage + help: @echo "Current build options are:" @@ -50,5 +54,6 @@ help: @echo " solarized_256: adds solarized ( 256color )" @echo " solarized_dark_256: adds solarized dark ( 256color )" @echo " base: builds a basic configuration" + @echo " disable_plugins: Disable pathogen ( plugin support )" @echo " clean: cleans the stage file" @echo " install: installs the staged config" -- cgit v1.2.3