Created
August 9, 2018 19:11
-
-
Save tykeal/cfa5084d396e45015155ec9d44dcbcfe to your computer and use it in GitHub Desktop.
Tykeal's quick vim enhancement setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure the following applications are installed on your system: | |
# puppet, puppet-lint, shellcheck, yamllint | |
# If you aren't doing any puppet development then puppet & puppet-lint can be | |
# skipped as can rodjek/vim-puppet | |
mkdir -p ~/.vim/bundle && pushd ~/.vim/bundle | |
for i in scrooloose/syntastic godlygeek/tabular elzr/vim-json \ | |
tpope/vim-pathogen rodjek/vim-puppet | |
do | |
git clone https://github.com/${i}.git | |
done | |
popd | |
# configure pathogen to work | |
echo '" add pathogen | |
runtime bundle/vim-pathogen/autoload/pathogen.vim | |
call pathogen#infect()' > ~/pathogen.txt | |
cat ~/pathogen.txt ~/.vimrc > .vimrc.new | |
mv .vimrc.new ~/.vimrc | |
rm -f ~/pathogen.txt | |
# configure yamllint to do our yaml linting | |
echo "\" set our yaml linter | |
let g:syntastic_yaml_checkers = ['yamllint']" >> ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment