<commit_before>#!/bin/bash

mkdir -p ~/.vim

if [ ! -d ~/Documents/dotfiles/ ]; then
    echo "dotfiles doesn't exist, cloning..."
    git clone https://github.com/NathanMH/dotfiles ~/Documents/
fi

if [ ! -d ~/.vim/autoloads/ ]; then
    # Get Pathogen going
    echo "Vim bundles/autoload don't exist, cloning..."
    mkdir -p ~/.vim/autoload ~/.vim/bundle && \

    echo "Getting Pathogen..."
    curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
    
    # GET ALL THE PLUGINS!
    git clone git://github.com/tpope/vim-surround ~/.vim/bundle/surround
    git clone git://github.com/tpope/vim-commentary.git ~/.vim/bundle/commentary
    git clone https://github.com/easymotion/vim-easymotion ~/.vim/bundle/easymotion
    git clone https://github.com/kien/rainbow_parenthesis.vim ~/.vim/bundle/rainbow
    git clone https://github.com/itchyny/calendar.vim ~/.vim/bundle/calendar
    git clone https://github.com/itchyny/lightline.vim ~/.vim/bundle/lightline

    # Get patchet fonts
    git clone https://github.com/powerline/fonts ~/Documents/fonts
    bash ~/Documents/fonts/install.sh
fi

cp ~/Documents/dotfiles/vim/.vimrc ~/
cp -r ~/Documents/dotfiles/vim/colors/ ~/.vim/<commit_msg>Remove patched font junk, but add source code pro font.<commit_after>#!/bin/bash

mkdir -p ~/.vim

if [ ! -d ~/Documents/dotfiles/ ]; then
    echo "dotfiles doesn't exist, cloning..."
    git clone https://github.com/NathanMH/dotfiles ~/Documents/
fi

if [ ! -d ~/.vim/autoloads/ ]; then
    # Get Pathogen going
    echo "Vim bundles/autoload don't exist, cloning..."
    mkdir -p ~/.vim/autoload ~/.vim/bundle && \

    echo "Getting Pathogen..."
    curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
    
    # GET ALL THE PLUGINS!
    git clone git://github.com/tpope/vim-surround ~/.vim/bundle/surround
    git clone git://github.com/tpope/vim-commentary.git ~/.vim/bundle/commentary
    git clone https://github.com/easymotion/vim-easymotion ~/.vim/bundle/easymotion
    git clone https://github.com/kien/rainbow_parenthesis.vim ~/.vim/bundle/rainbow
    git clone https://github.com/itchyny/calendar.vim ~/.vim/bundle/calendar
    git clone https://github.com/itchyny/lightline.vim ~/.vim/bundle/lightline

    # Get fonts
    git clone --depth 1 --branch release https://github.com/adobe-fonts/source-code-pro.git ~/.fonts/adobe-fonts/source-code-pro
    fc-cache -f -v ~/.fonts/adobe-fonts/source-code-pro
fi

cp ~/Documents/dotfiles/vim/.vimrc ~/
cp -r ~/Documents/dotfiles/vim/colors/ ~/.vim/
{'fraction_non_alphanumeric': 0.1616600790513834, 'fraction_numerical': 0.0003952569169960474, 'mean_word_length': 2.8290468986384267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2520891', 'n_tokens_mistral': 977, 'n_tokens_neox': 871, 'n_words': 185}